on replaySourceStatusChanged
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
on replaySourceStatusChanged
Description
The event is triggered whenever the state of a replay block changes. This is when replay starts, at the first event of the replayed file, and after the last event of the replayed file. Within the event, the following information can be used via thethis operator:
- this.timestamp: The timestamp of the event, in ns.
- this.block: The name of the replay block that triggered the event.
- this.status: The new state of the block. The following values are possible:
- kStartOfSource = 1: replay has started, i.e., the replay block is now running.
- kStartOfData = 2: the first event of the replay file has been reached.
- kEndofData = 3: the last event of the replay file has been reached.
- this.filename: The full path of the replayed file.