Sets whether to use a ratiometric or fixed reference on the analog inputs.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public bool ratiometric { get; set; } |
Visual Basic (Declaration) |
---|
Public Property ratiometric As Boolean |
Visual C++ |
---|
public: property bool ratiometric { bool get (); void set (bool value); } |
Remarks
Most sensors use the ratiometric model, where the returned value will be between 0 and +Vdd, where Vdd is the voltage supplied to the sensor - approximately 5v.
Some sensors output a specific voltage regardless of their supply voltage, and for these we provide a non-ratiometric fixed +5v reference.
The default value for this is ratiometric (true).
This only applies to interfacekit boards with analog inputs (8/8/8, TextLCD 8/8/8).
Exceptions
Exception | Condition |
---|---|
Phidgets..::.PhidgetException | If ratiometric is not supported, or the InterfaceKit is not opened and attached. |