SetVideoTriggerTimes
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.
Note This function is only allowed inon preStartevent procedure.
Syntax
SetVideoTriggerTimes(char windowName[], dword preTriggerTime, dword postTriggerTime);
Function
Sets the trigger times for aCANoeVideo Window.
Parameters
windowName The name of the Video Window.
preTriggerTime
The pre trigger time (in ms). For details see the pre trigger time in theCANoeVideo Configurationdialog.
postTriggerTime
The pre trigger time (in ms). For details see the pre trigger time in theCANoeVideo Configurationdialog.
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.
// set trigger times for "VideoWindow"
SetVideoTriggerTimes("VideoWindow", 0, 2500);
Related APIs
SetVideoOfflineLoggerCam | SetVideoOfflineSource | SetVideoRecordFile | StartVideoRecording | StopVideoRecording