cDAQ / NI-AnalogModules / list them and separate by type (input/output)
Show older comments
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?
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!