| Data Acquisition Toolbox | Search  Help Desk |
| InputRange | See Also |
InputRange specifies the range of the analog input hardware device. For many devices, this range is expressed in terms of the gain and polarity. Therefore, if you set InputRange to a particular value, then the gain and/or polarity are automatically modified accordingly.
Hardware devices have a finite number of InputRange values that can be set. If an InputRange value is specified but does not match a valid value, then the closest supported value is automatically selected by the engine.
Since InputRange can be set to a value that differs from the one specified, you should return the actual input range for each channel.
ActualRange = get(AI.Channel(index), 'InputRange');
setverify function. This function sets the input range value and then returns the actual value that is set.
ActualRange = setverify(AI.Channel(index), 'InputType', Value)
Characteristics
| Device Objects | AI |
| Class | Channel |
| Access | Read/write |
| Data Type | Vector of doubles |
| Modify while Running | Yes |
Values
The default value is supplied by the hardware driver.See Also
Functions
setverify
Properties
SensorRange, UnitsRange