ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Data acquisition tools

Solved!
Go to solution

I'm getting errors on start Task vi see attach DAQmx 1

I'm usingLabVIEW 14 and a USB 6009 and 2 USB-TC01 all 3 are in MAX

the program is intended to address 2 16 channel Mux chips and display 30 + channels of data.   VI attached too

I have tried many hours to solve the issue of no task name, somtimes it works but then the errors return.  I hope to get some help point out what I'm doing wrong

Thanks in advance

Gene

Download All
0 Kudos
Message 1 of 4
(2,999 Views)
Solution
Accepted by topic author justgene

You can only have 1 analog input task on a DAQ.  But you can have multiple channels in a task.  For instance, for the Dev3 channels, have the channel be "Dev3/ai0..2".  That will have all 3 of your channels in a single task.  Then you just read all of them in a single DAQmx Read (N Channels, 1 Sample).



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(2,989 Views)

Crossrulz,

Thanks for the rapid responce!  I'll do some rearranging and try your solution.  I'll be sure to post the results

Thanks again!

Gene

0 Kudos
Message 3 of 4
(2,982 Views)

Crossrulz, your information was the solution to my problem thanks!.  I had to rearrange the array scheme, terminate the tasks, handle errors etc but I think this is going to work

Thanks 

Gene

0 Kudos
Message 4 of 4
(2,925 Views)