"calling thread must be STA" error when trying to access an object from another window
<p>I have an application that does data acquisition over a serial port (modbus), and I use a BackgroundWorker object to call the device because otherwise it takes time and freezes my UI.
The problem arises when I open a new WPF window and set its DataContext to be the object I'm updating (I want to use this window to get a detailed view of the device - status, charts, bargraphs). 
Is there a way of using my data object in another window or should I consider making my app a single windowed one?
Thank you</p>
