NI USB 6009 does not accept measurement type "Current"

11 visualizaciones (últimos 30 días)
Markus Schmidt
Markus Schmidt el 22 de Abr. de 2016
Comentada: Kshiti Sneh Rai el 4 de Jul. de 2019
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 comentario
Kshiti Sneh Rai
Kshiti Sneh Rai el 4 de Jul. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Sai Kulkarni
Sai Kulkarni el 25 de Abr. de 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 comentarios
Walter Roberson
Walter Roberson el 26 de Abr. de 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 el 4 de Jul. de 2019
There is a default setting of 249 ohm resistance in NI Measurement Explorer, which can be modified.

Iniciar sesión para comentar.

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by