CAPL Script

StartReplayFile

Note Note that a relative path to the configuration directory or an absolute path can be used to specify the replay file.Just the file name of the replay file can also be specified. For this option, the replay file must be located in the same folder as the configuration.

Syntax

dword StartReplayFile(char fileName[]);

Function

Starts playing the replay file with the namefileName. This function replays events of the following types: In particular, replay of LIN, FlexRayand MOSTevents using this function is not possible. All events are replayed on the same channel as they are recorded in the replay file. Events targeted to non-configured channels are discarded. The first event in the replay file is replayed immediately, disregarding it's time stamp. The start of replay is timely decoupled from calling this function, so replay will actually start a short but indeterminate time span after this function returns.

Parameters

fileName Replay file.

Return Values

The returned handle is required tostop the replay file.