LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Querying number of channels on a device

How can I ask programmatically, "Dev0, how many analog output channels do you support?"

0 Kudos
Message 1 of 6
(2,581 Views)
It would depend on the device. I would look at the manual for the device you are using and see what what it's API is. As written no one can give you an answer since it all depends on what you are talking to.


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 6
(2,575 Views)
Number of AOs.png
0 Kudos
Message 3 of 6
(2,573 Views)

JB wrote:
Number of AOs.png

I stand corrected. Will this work for all devices?



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 6
(2,569 Views)

Forget to mention the path to this property node :

 

Functions palette >> Measurement I/O >> NI-DAQmx >> Advanced >> System Setup >> Device Node

 

or easier and faster (LV8.6 and later) : Ctrl+Space to show Quick Drop >> type Device Node >> select DAQmx Device Property Node

0 Kudos
Message 5 of 6
(2,567 Views)
I expect it to work with all DAQmx devices but (obviously) I haven't tested it for all of them...
0 Kudos
Message 6 of 6
(2,564 Views)