data aquisition toolbox session based interface enumerating channels

1 回表示 (過去 30 日間)
Eric Keller
Eric Keller 2011 年 10 月 30 日
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?

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Acquisition Toolbox Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by