Filter löschen
Filter löschen

Matlab Data Acquisition Toolbox Error with NI USB-6002

2 Ansichten (letzte 30 Tage)
Bob
Bob am 14 Jul. 2015
Beantwortet: Walter Roberson am 15 Jul. 2015
I am currently trying to use the Matlab Data Acquisition Toolbox with the National Instruments USB-6002. I am using Matlab version 2014a. I am following the directions on the website below. http://www.mathworks.com/help/daq/examples/acquire-data-using-ni-devices.html
Here is my code:
d=daq.getDevices
s=daq.createSession('ni');
addAnalogInputChannel(s,'Dev1', 0, 'Voltage');
According to the website, below the USB-6002 is supported by Matlab. http://www.mathworks.com/hardware-support/nidaqmx.html
However, I am getting the error message below when running my program.
Error using USB_6002 (line 14)
NI Error -200452:
Specified property is not supported by the device or is not applicable to the task.
Property: DAQmx_AI_Coupling
Channel Name: Dev1/ai0
Task Name: _unnamedTask<99>
Status Code: -200452
Why I am I getting this error message? The USB-6002 is supported by Matlab. Do I need a newer version of Matlab to run the Matlab Data Acquisition Toolbox with the USB-6002?

Antworten (1)

Walter Roberson
Walter Roberson am 15 Jul. 2015

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by