PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Amount of DAQmx channels

hello everyone,

 

I have a channel selector and can select multiple channels. The datatype of this control is 'DAQmx- physical channel'. Is there a property node for the amount of channels select?

0 Kudos
Message 1 of 3
(1,719 Views)

I found this workaround

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9d8SAC&l=de-DE

and made a little VI that fits my purposes.

 

Maybe there is a simpler solution?

Download All
0 Kudos
Message 2 of 3
(1,689 Views)

I don't think it would be possible since the DAQmx Physical Channel control does not validate the channels selected (you could even type in any text) and there is more than one format for specifying multiple channels.

 

This Physical channel control data is validated only during creating a task and hence you would observe the same in the example you have posted, they would create a task and get the channels part of it.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 3 of 3
(1,629 Views)