08-16-2016 10:08 PM
graph rendermode= RenderMode.Hardware
debug error :
System.Windows.Threading.Dispatcher.Run( );
The calling thread could not access this object because another thread owns the object.
Solved! Go to Solution.
08-17-2016 10:30 AM
I was able to reproduce the problem and track it to a non-dispatched internal access to the application's main window, and have created a task to fix this.
We only perform this access once, so as a workaround you can force this initilaization to happen early (before starting the graph on the background thread) by adding this call to the main window's constructor:
public MainWindow( ) {
new NationalInstruments.Controls.Primitives.Tables.RenderTargetBitmapWrapper( 1.0, 1.0 );
InitializeComponent( );
}
07-08-2019
04:37 PM
- last edited on
11-20-2024
04:33 PM
by
Content Cleaner
Just wanted to let you know this issue was fixed in the Measurement Studio 2019 release.