Setting NI-DAQmx Channel Gain by Min/Max Value or Range High/Low in LabVIEW

Updated May 3, 2018

Reported In

Software

  • LabVIEW Full
  • LabVIEW Base
  • LabVIEW Professional

Driver

  • NI-DAQmx

Issue Details

At present, I set the NI-DAQmx device channel gain by changing the range. I want to know whether I should use the properties of Maximum/Minimum Value or Range High/Low. What is the difference between this two?

Solution

You can configure your own device channel gain by two ways as follow.
  1. Setting it by Maximum/Minimum Value
There are also two ways by Max/Min Value
  1. By DAQmx Create Channel VI, you can set it by Max/Min Terminal,as Figure 1 shows.

 
  1. By selecting Maximum/Minimum Value Properties
Selecting DAQmx Channel >> Analog Input >>Maximum/Minimum Value, like Figure 2 showing.

 
  1. Setting it by Range High/Low properties
Selecting DAQmx Channel >> Analog Input >>General >> Advanced >> Range >> High/Low, as the Figure 3 below shows.

 
In fact, you can use either the two ways mentioned above to configure the range so that the DAQ device uses to choose a gain value.

The main difference between the two pairs is the units to which they refer.
  • The Max/Min value match the appropriate units for the type of signal created by the DAQ task. For example, Max/Min will refer to degrees Celsius when doing an analog thermocouple input task, but it refers to amps for an analog current input task.
  • When setting the range using high/low, the units are reflected in the DAQ device's native units. For example, the range for a DAQ task using an E series device will be in volts
 

Additional Information

But you should avoid setting both pairs. If you set both Max/Min and High/Low, NI-DAQmx uses the last values to determine the channel gain.

WAS THIS ARTICLE HELPFUL?

Not Helpful