Problems with Data Aquisition Toolbox 2.17 and National Instruments cDAQ-9172
Show older comments
I use Matlab R2010b and have some problems with data acquisition.
I connected a National Instruments cDAQ-9172 chassis via USB and plugged in a NI-9201 analog input module. To acquire data I used the session-based interface like described in chapter 9 (page 9-8) in the user-guide of the data acquisition toolbox. Everything worked fine.
But then, I wanted to use Matlab Simulink to acquire data. I opened the Data Acquisition block library and added the Analog Input block to my model. When I wanted to specify the block parameters the only device that was shown is my soundcard. Why did not appear the cDAQ-Chassis there?
I installed the NI-DAQmx drivers as well as the "old" traditional drivers (Version 7.3).
Accepted Answer
More Answers (1)
Walter Roberson
on 8 Mar 2011
0 votes
A card connected through a USB must be doing digital I/O. The Analog Input block is for directly attached A/D cards, I believe.
A device connected via USB has a lot more complications and timing problems and throughput problems than a directly attached device.
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!