CAPL Script

Trigger

Syntax

void trigger();

Function

Sends a trigger event to allCANoeLogging or Trigger Blocks. For a Logging Block, the trigger event starts and stops logging, depending on set in theTrigger Configurationdialog of this block. For a trigger block, the trigger event starts and stops the data stream (like a filter) for the whole analysis branch or a single analysis window, depending also ontrigger modeandtrigger conditionsin theTrigger Configurationdialog.

Parameters

Return Values

on message 100{write("logging start");trigger(); // start loggingsetTimer(logging,1000); // for 1000 ms}on timer logging{trigger(); // Stop logging}

triggerEx | stop