DAQmx 创建虚拟通道 (VI) [Labview]

DAQmx Create Virtual Channel (VI) [Labview]

我正在尝试设置最大值和最小值,如图所示。

http://postimg.org/image/88qekr6jn/

如果我改变常量的值似乎没有任何改变,这样设置设备范围是否正确?

是的,您可以通过这种方式设置AI通道的范围。

来自LabVIEW help for Input Limits

Input limits are the maximum and minimum values you expect to measure, after any scaling, including custom scaling. Input limits are sometimes confused with device range. Device range refers only to the input range of a particular device. For instance, the device range for a DAQ device might be 0 to 10 V, but that device might be used with a temperature sensor that outputs 100 mV for every 1 °C. The input limits in that case could be 0 to 100, with 10 V corresponding to 100 °C.

Input limits in a smaller range can improve the precision of your measurement. If, in the previous example, you knew that the temperature would never be higher than 50 °C, you could choose a minimum value of 0 and a maximum value of 50. The device can then detect smaller differences in temperature because it is digitizing a voltage between 0 and 5 V, rather than 0 and 10 V.

输入限制的变化是否会导致设备范围的实际变化取决于您使用的 DAQ 设备。例如,低端 USB-600x 系列设备只有 +/- 10 V 范围。您没有说更改输入限制时期望看到的效果,但可能是您的更改没有效果,因为设备的范围没有变化。