These functions get or set value of I/O modules.
More...
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] | Double | AI value |
[in] | Integer | debug 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] | Integer | DI value |
[in] | Integer | debug 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] | Integer | DO value |
[in] | Integer | debug value |
- Returns:
- value of DO
- Examples:
- snhwEx.c.