canFlush (Function) |
Top Previous Next |
This will remove all messages received from the CAN bus and currently stored in the internal receive buffer (see canReceiveMessage).
Input: port : SINT (1/2) (default 1) The port of the CAN bus.
Returns: INT
Declaration: FUNCTION canFlush : INT; VAR_INPUT
Example: INCLUDE rtcu.inc |