CAPL Script

Output

Syntax

void output(message msg); // form 1

void output(errorFrame); // form 2

Function

Outputs a message (form 1) or an Error Frame (form 2) from the program block.

Parameters

msg Variable of type message.

errorFrame Variable of type errorFrame.

Return Values

output(msg) Example variables {message can2.125 msg = { // define CAN messagedlc = 1,byte(0) = 1};}on key F1 {output (msg); // output Message} output(errorFrame) Example on key F10 {output(errorFrame); // output Error Frame on CAN channel 1}on CAN2.errorFrame {output (CAN3.errorFrame); // output Error Frame on CAN channel 3} Except for the first channel for all other channels the key worderrorFramehas to be qualified with the number of the CAN channel.