LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MULTIPLE FUNCTION TASK

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!

0 Kudos
Message 1 of 8
(3,068 Views)

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.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 8
(3,063 Views)

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!

0 Kudos
Message 3 of 8
(3,060 Views)

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.

 

Create task 1.PNG

 

Create task 2.PNG

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 8
(3,055 Views)

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!

0 Kudos
Message 5 of 8
(3,053 Views)

Use the create task VI and give the channel name and other configuration. You can find examples in LabVIEW help.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 8
(3,051 Views)

you know any name of example ??i am searching but i don't search them...

0 Kudos
Message 7 of 8
(3,049 Views)

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

-----

The best solution is the one you find it by yourself
0 Kudos
Message 8 of 8
(3,046 Views)