Problems using "digitalio" with National Instruments NI 9401 CompactDAQ-Modul
Ältere Kommentare anzeigen
Hey together!
I have some problems using "digitalio" with National Instruments NI 9401 CompactDAQ-Modul. I am working on Win XP (32 bit) and want to create a digital output with matlab.
I do like described in the help... When I type:
daq.getDevices
I get: Data acquisition devices:
index Vendor Device ID Description
----- ------ --------- ------------------------------
1 ni cDAQ1Mod1 National Instruments NI 9211
2 ni cDAQ1Mod4 National Instruments NI 9201
3 ni cDAQ1Mod6 National Instruments NI 9263
4 ni cDAQ1Mod8 * National Instruments NI 9401
* Device not recognized and may require additional configuration information.
I don't know, why the last device (what I want to use) is not recognized.
So when I type:
dio = digitalio('nidaq','cDAQ1Mod8');
I get an error message:
??? Error using ==> digitalio.digitalio at 117
The specified device ID is invalid. Use DAQHWINFO(adaptorname) to
determine
valid device IDs.
Could anyone imagine why?
Akzeptierte Antwort
Weitere Antworten (4)
Laura Proctor
am 23 Mai 2011
0 Stimmen
This statement is because the NI 9401 device is not supported.
Chirag Gupta
am 23 Mai 2011
0 Stimmen
To add on more to Laura's answer:
Data Acquisition Toolbox supports CompactDAQ only with its new session based interface.
Currently in MATLAB R2011a, the session based interface supports various analog inputs, analog outputs, counters and timers.
Randy82
am 23 Mai 2011
0 Stimmen
Randy82
am 24 Mai 2011
0 Stimmen
Kategorien
Mehr zu Hardware Discovery and Setup finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!