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: 

question on DAQmx

is there a way I can get a string array output of all the DAXmx Global
Channel names in a given task? Kind of like GETNAMES?

Jim
http://www.effectivetest.com
0 Kudos
Message 1 of 4
(2,754 Views)
Jim,
DAQmx Task property node Channels returns the names of all virtual channels in the task.
Zvezdana S.
0 Kudos
Message 2 of 4
(2,754 Views)
Zvezdana S. wrote:
> Jim,
> DAQmx Task property node Channels returns the names of all virtual
> channels in the task.
> Zvezdana S.

Yes but the return type is a channel type, not a string. How can I get
an array of string names for each DAQmx Global Channel in the task?

Jim
0 Kudos
Message 3 of 4
(2,754 Views)
Jim,
You can wire an array or strings indicator to the output of Channels property node.
Zvezdana S.
0 Kudos
Message 4 of 4
(2,754 Views)