data aquisition toolbox session based interface enumerating channels

1 vue (au cours des 30 derniers jours)
Eric Keller
Eric Keller le 30 Oct 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?

Réponses (0)

Catégories

En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by