NI USB 6009 does not accept measurement type "Current"
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Kshiti Sneh Rai
le 4 Juil 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.
Réponses (1)
Sai Kulkarni
le 25 Avr 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 commentaires
Walter Roberson
le 26 Avr 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
le 4 Juil 2019
There is a default setting of 249 ohm resistance in NI Measurement Explorer, which can be modified.
Voir également
Catégories
En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!