boardSysSwitchGet (Function) |
Top Previous Next |
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.
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 |