cDAQ / NI-AnalogModules / list them and separate by type (input/output)
显示 更早的评论
Hello!
I would like to program a little GUI, that shows me the Analog-Modules of a connected cDAQ from NationalInstruments. As my cDAQ is only supported by the session based interface, I have to use how described in the help:
d = daq.getDevices
Now I get the Modul-Names if I type:
modulnames = {d.Description}
But now the question: I have some input and output-Modules and only want to list e.g. the input-modules in a list.
How could I get a cell-array that only shows me the names of the input-Modules?
回答(2 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!