필터 지우기
필터 지우기

NI USB 6009 does not accept measurement type "Current"

조회 수: 11 (최근 30일)
Markus Schmidt
Markus Schmidt 2016년 4월 22일
댓글: Kshiti Sneh Rai 2019년 7월 4일
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
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
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
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
Kshiti Sneh Rai 2019년 7월 4일
There is a default setting of 249 ohm resistance in NI Measurement Explorer, which can be modified.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by