Data Acquisition Toolbox    
SensorRange

Specify the range of data you expect from your sensor

Description

You use SensorRange to scale your data to reflect the range you expect from your sensor. You can find the appropriate sensor range from your sensor's specification sheet. For example, an accelerometer might have a sensor range of ±5 volts, which corresponds to ±50 g's (1 g = 9.80 m/s/s).

The data is scaled while it is extracted from the engine with the getdata function according to the formula

The A/D value is constrained by the InputRange property, which reflects the gain and polarity of your hardware channels. The units range is given by the UnitsRange property.

Characteristics

Usage
AI, Channel
Access
Read/write
Data type
Two-element vector of doubles
Read-only when running
No

Values

The default value is determined by the default value of the InputRange property.

See Also

Functions

getdata

Properties

InputRange, Units, UnitsRange


  Sending StartFcn