data aquisition toolbox session based interface enumerating channels

1 Ansicht (letzte 30 Tage)
Eric Keller
Eric Keller am 30 Okt. 2011
I am using R2011b on a 64 bit computer
In my gui, I allow the user to select the analog input channel from a drop down list that has the names of the channels.
In the legacy interface, you could create an analog input device and ask for the names of the analog input channels. In the session based interface, it doesn't look like that is possible. From what I see, you have to iterate through the "Subsystems" until you find one that is of type 'analogInput' and then use the number of channels to build a list of strings. Am I missing a hidden method?

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by