Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

auto range mydaq. MyDAQ will not auto range when used inside of labview.

 MyDAQ will not auto range when used inside of labview. When the function is created with DAQ Assistant and then broke down into code. The myDaq will not auto range and uses highest resistance value range.

0 Kudos
Message 1 of 3
(5,711 Views)

Hi ET,

 

What exactly do you mean by auto-range? I can say that when you are using the DAQmx VIs (what the daq assistant is converted to) you set the range here:

daq.png

For more examples of this code set-up, try looking at some shipping examples (go to help>>find examples... in LabVIEW)

 

For more info about converting the assistant into normal VIs, take a look at these documents:

http://digital.ni.com/public.nsf/allkb/921A6DC1393E3CEC862577FF0074A68B?OpenDocument

http://digital.ni.com/public.nsf/allkb/9ABBC41203DA44EC862577FF007183D3?OpenDocument


Thanks,

0 Kudos
Message 2 of 3
(5,702 Views)

Hello ET 1003,

 

If you are referring to the AutoRange functionality in the DMM feature of the Instrument Panel in the NI ELVISmx software that is included with NI myDAQ, then that functionality is not a property of the hardware, but rather implemented in software.

 

Basically what happens is that, behind the scenes, the DMM portion of the Instrument Panel will set the range to a certain range, take a measurement, then adjust the range if the reading is outside the current range or could fit in a smaller range.

 

If you are using the NI-DAQmx functions to control your NI myDAQ, then you will need to manually choose the range or create code that performs the autoranging for you.

Seth B.
Principal Test Engineer | National Instruments
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 3 of 3
(5,699 Views)