Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I display real time data with high speed?

I need sample four signals with a sample rate about 50M for each signal and display all the sample data with time in real time(something like a high speed scope).I want to use the CNiGraph control of messurement studio to display the data in the environment of visual c++ 6.0.I use the fuction ChartXvsY( const CNiVector& x, const CNiVector& y )
to display the data on the control.However,the control seems can't refresh with high speed,and my application can't response me when it starts sampling and displaying the data in real time.Please help me.Thank you in advance!
0 Kudos
Message 1 of 2
(3,055 Views)
I can think of two quick options here. One would be to slow down your aquisition rate. It is possible that you are "taxing" your processor too much with the aquisition and then plotting of the points. If slowing down the aquisition rate is unacceptable, you can try multithreading. This will split processor times between two processes. You can find more information with the MultiThreadingOverview.pdf file located in C:\Program Files\National Instruments\MeasurementStudio\CVI\bin

Daniel McChane
Application Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,055 Views)