Sixnet\Red Lion Controls SN-Series IOCTRL library Version 1.0
I/O Status Functions

These functions get or set value of I/O modules. More...

Functions

int hwControl_Io_getDI (int *p_value, int debug)
 Get the status of Discrete Input.
int hwControl_Io_getDO (int *p_value, int debug)
 Get the status of Discrete Output.
int hwControl_Io_getAI (double *p_value, int debug)
 Get the status of Analog Input.

Detailed Description

These functions get or set value of I/O modules.


Function Documentation

int hwControl_Io_getAI ( double *  p_value,
int  debug 
)

Get the status of Analog Input.

Parameters:
[out]DoubleAI value
[in]Integerdebug value
Returns:
Analog Input value (AI)
Examples:
snhwEx.c.
int hwControl_Io_getDI ( int *  p_value,
int  debug 
)

Get the status of Discrete Input.

Parameters:
[out]IntegerDI value
[in]Integerdebug value
Returns:
value of DI
Examples:
snhwEx.c.
int hwControl_Io_getDO ( int *  p_value,
int  debug 
)

Get the status of Discrete Output.

Parameters:
[out]IntegerDO value
[in]Integerdebug value
Returns:
value of DO
Examples:
snhwEx.c.
 All Files Functions