CAPL Script

CompleteStop

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

void CompleteStop ()

Function

Indicates completion of pre-stop actions carried out in a certain node after a measurement stop has been deferred byDeferStop.

Parameters

—

Return Values

—

Reference example from the CANoe 12 help. Check the required configuration, database objects and API availability in your installed version; this is not a recorded compiler or runtime test.

on preStop
{
   message ShutdownReq m;

   output(m);
   DeferStop(1000);  // measurement is stopped if ACK has not
// yet been received after one second
}
on message ShutdownAck
{
   CompleteStop();
}