LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

read and plot multiple channel in different graphs in Labwindows

Hi everybody.
I try to read multiple channels and want to plot it in different graphs.
Now I'm searching for the function I can use.
I've found the function SCAN_Op, but can someone send me an example that works?And explain me the parameters?
And where can I control the scan rate ?
Or are there other functions to solve my problems ?
Now I'm reading every single channel and plot after it in multiple threads. But this doesn't work good enough.

Please help me !!!

THX.

DHZB
0 Kudos
Message 1 of 2
(2,930 Views)
Hello

Check out the Scan_Start() function for acquiring data from multiple channels. Also, there are several C examples that are installed with NI-DAQ. You can find them under Program Files\NI-DAQ\Examples\VisualC\Ai. These are just C examples, so you should be able to use them in CVI directly. Also, you should have some data aqauistin samples installed under CVI as well, make sure you installed CVI support for DAQ. This is one of the options you have when installing the NI-DAQ driver.

For information about the function, check out the function reference manual, you can get to it by going to Start >>Program >> National Instruments >> NI-DAQ. There should be a link there to the help document.

I hope this helps

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
Message 2 of 2
(2,930 Views)