boardSysSwitchGet (Function) |
|
Query the state of a system switch.
A system switch is a software controlled switch, which is an alternative to hardware a jumper. The state of the switch is persistent.
The state of the system switch can be changed with the boardSysSwitchSet function.
Note: This function is supported on NX-200 and NX-400.
Input: id : DINT; The id of the system switch to query.
Output: state : SINT; The state of the system switch.
Returns: BOOL
Declaration: FUNCTION boardSysSwitchGet : INT;
Example: INCLUDE rtcu.inc |