Get state of the specified analog input.
Namespace:
AForge.Robotics.TeRKAssembly: AForge.Robotics.TeRK (in AForge.Robotics.TeRK.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
Parameters
- input
- Type: System..::.Int32
Analog input to get state of, [0, Count).
Return Value
Returns state of the requested input measured in milli volts.
Remarks
In the case if multiply inputs should be queried, it is much preferred to use GetInputs()()() method, which retrieves state of all inputs at once.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentOutOfRangeException | Invalid input is specified. |
AForge..::.ConnectionLostException | Connestion to Qwerk is lost. |