Pauses the script for the specified amount of time.
WAIT(1000)
Waits 1000 ms (1 second) before executing the next command.
Restarts script execution from the specified line.
REPEAT(1)
Restarts the script from line 1, allowing continuous execution.
Sends a CAN frame.
SEND(12#1234)
Sends a CAN message with:
Example:
SEND(7DF#0201000000000000)
Receives CAN frames with a specified CAN ID.
RECEIVE(12)(LOG)
Every received frame with CAN ID 0x12 is displayed in the log window. Script execution continues immediately.
RECEIVE(12)(LOG)(W)
The script pauses until a CAN frame with ID 0x12 is received, then writes it to the log.
RECEIVE(12)(DATA1)
Waits for a CAN frame and stores its raw payload in the Data1 field.
The following destination fields are available:
DATA1DATA2DATA3DATA4Example:
RECEIVE(7E8)(DATA2)
RECEIVE(12)(DATA1)(T)
Waits for a CAN frame, processes the received data using transformation commands, and displays the final result in the Data1 field.
The transformation section must always end with:
END_RECEIVE
or
END_RECEIVE(text)
where the optional text is appended to the displayed value.
Example:
END_RECEIVE( km/h)
may display:
72 km/h