AIO_In Method
Description
Reads analog value from optional analog I/O input channel.
Syntax
Function AIO_In (Channel As Integer) As Single
Parameters
- Channel
Specifies the analog I/O channel number.
Return Value
Return the analog input value of the analog I/O channel which specified in channel number in real number. Return value range differs depending on the input range configuration of the analog I/O board.
See Also
AIO_InW Method, AIO_Out Method, AIO_OutW Method
AIO_In Use Example
VB Examples:
Dim val As Single
val = m_spel.AIO_In(2)
C# Example:
float val;
val = m_spel.AIO_In(2);