LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Channel Names

I need to know if I can somehow get a list of the channels in a particular task through labview.  Is there some way to parse the Channel Constant into an array which holds all the names?
0 Kudos
Message 1 of 6
(3,539 Views)
There's a "Channels" property in the DAQmx Task class of proprty nodes that will output an array of Channel names of all the channels in the Task.



Ed

Message Edited by Ed Dickens on 11-08-2005 02:22 PM



Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 2 of 6
(3,538 Views)
Thanks for the help
 
0 Kudos
Message 3 of 6
(3,530 Views)
I need to do the exact same thing but then the other way around. That is, I've got an array of (global) channels and want to create a task from them that I can then pass to some DAQmx vi (like start task). Is this possible?
Thanks!
0 Kudos
Message 4 of 6
(3,476 Views)
Hi,
 
look at attached VI
 
The ' DAQmx Flatten Channel String.vi' function should solve your problem
 
regards
Dev
 
0 Kudos
Message 5 of 6
(3,473 Views)
Cheers, thanks a lot! Exactly what I needed.
0 Kudos
Message 6 of 6
(3,469 Views)