02-23-2012 04:36 AM
hello,
i am writting this, to ask for help...
i am working with task to do operations with a niusb6009, and i am creating task to read one channel for example ai3.
can someone tell me if i can create a task to read diferrent channels at same time???
for example:
ai1 ai2 and ai3 ??can do a task to read it??how can i do it??
THANKS!
02-23-2012 04:51 AM
You can do it by just adding the channels in the same task and read the data as a 1D double value. But do not create different task for each AI value.
02-23-2012 04:56 AM
thanks p anand,
i don't know how to do it, my question is how do you add more than one chanel in a task? i have been searching for info and i saw it but i don't know how to do it...
thanks i am goint to try it!!
thanks p anand!
02-23-2012 05:02 AM
You can create task in MAX. Just search for how to create task and create and add the channels you want then you can see the task in LabVIEW. Use the task and acquire data.
02-23-2012 05:09 AM
P anand!!thanks!!
but i am creating a task depending what i read from an excel file... so i know how to do it...when i finished i will tell you how i do it!!orif have aany question i wil write you!!thanks!
02-23-2012 05:16 AM
Use the create task VI and give the channel name and other configuration. You can find examples in LabVIEW help.
02-23-2012 05:22 AM
you know any name of example ??i am searching but i don't search them...
02-23-2012 05:46 AM
Just browse the example and go to the Hardware I/O and go for Analog measurements there you have many examples. One among those is :
C:\Program Files\National Instruments\LabVIEW 2011\examples\DAQmx\Analog In\Measure Voltage.llb\Cont Acq&Graph Voltage-Analog SW Trigger.vi