NI USB 6009 does not accept measurement type "Current"
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
Kshiti Sneh Rai
2019-7-4
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.
回答(1 个)
Sai Kulkarni
2016-4-25
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 个评论
Walter Roberson
2016-4-26
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
2019-7-4
There is a default setting of 249 ohm resistance in NI Measurement Explorer, which can be modified.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!