NI USB 6009 does not accept measurement type "Current"

8 views (last 30 days)
Device: NI USB 6009
Matlab R2015a Win 10, 64-bit
I experience a strange behaviour regarding the following code:
dev = 'Dev1';
curSession = daq.createSession('ni');
curSession.Rate = 1000;
pChannel = addAnalogInputChannel(curSession, dev ,'ai0', 'Current');
When excecuted, Matlab raises an error:
The measurement type 'Current' is not supported by this device.
This device supports 'Voltage'.
even though it is perfectly fine to use the device in the NI Measurement and Automation Controller to set up a current task.
  1 Comment
Kshiti Sneh Rai
Kshiti Sneh Rai on 4 Jul 2019
I have faced exactly the same issue with NI USB 6216. Couldn't find any solution. Thought it works on NI Measurement and Automation Contoller (NI MAX) as you said.

Sign in to comment.

Answers (1)

Sai Kulkarni
Sai Kulkarni on 25 Apr 2016
I understand that you are trying to add an analog output channel on the NI USB 6009 device and you wish to specify the measurement type for this channel as 'Current' instead of 'Voltage'.
According to the device specifications for this device, the only supported measurement type for this device is 'Voltage'. You can refer to the device specifications here : NI USB-6009
This is a limitation of the device. If you need a DAQ device which supports the measurements to be made in terms of units of electric current, you can contact NI for more information.
  3 Comments
Walter Roberson
Walter Roberson on 26 Apr 2016
When you are using the NI Measurement Explorer, are you telling it which voltage or resistance to use, or is it measuring current directly itself?
Kshiti Sneh Rai
Kshiti Sneh Rai on 4 Jul 2019
There is a default setting of 249 ohm resistance in NI Measurement Explorer, which can be modified.

Sign in to comment.

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!