LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get size of DAQmx Physical Channel

Solved!
Go to solution

Hello everyone,

 

Problem Description: I am using DAQmx Physical Channel as control. I have selected few channels from browse option. Now i want to get number of selected channels from list.

 

I checked in Measurement I/O-> NI-DAQmx. But couldn't find

 

Is there any way?

 

0 Kudos
Message 1 of 5
(2,596 Views)

Capture.PNG

in 1k Words


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 5
(2,587 Views)

Here your control is DAQmx Task. But my control is DAQmx Physical Channels.

 

In DAQmx Task "user" don't have option to select channels, Whereas in DAQmx Physical Channel "user" has option to select which ever channel he/she want. ( PXI1slot4/ai0)

 

When I checked "DAQmx Physical Channels" there is no property call Numchans. Is there any other way to do?

 

0 Kudos
Message 3 of 5
(2,577 Views)
Solution
Accepted by topic author Jagadeesh_1990

I guess the easiest option is to unflatten into an array first:

 

HowManyChannels.png

Regards,
Ben C
---

---
Message 4 of 5
(2,563 Views)

Awesome!!! Clark Smiley Happy

Spoiler
 
0 Kudos
Message 5 of 5
(2,552 Views)