09-17-2013 01:39 PM
Deal all:
I am trying to use NI USB-5133 in Matlab, where I have used other card with the following code:
% Register the NI card
NI = daqregister ('nidaq');
% Set NI as the input analog signals
AI = analoginput('nidaq', 'Dev3');
As I am using the same code for 5133, I run into the following error message: The specified device ID is invalid. Use DAQHWINFO(adaptorname) to determine
valid device IDs. I am sure the 5133 is indentified as device 3 in Measurement and Automation Explorer.
Then I found that Matlab NI-DAQmx plug-in does not support the 5133 card, is this true? Is there any other ways to work around it?
thanks,
09-17-2013 08:15 PM
5133 uses NI-SCOPE not DAQmx. That's why it's not support by MATLAB library for NI-DAQ. You should check on MATLAB web site whether they have a library for NI-SCOPE. If not, you should calling dll of NI-SCOPE in MATLAB.