CAPL Script

SetVideoOfflineLoggerCam

Note This function is only allowed inon preStartevent procedure. This function is only valid forOfflinesourceImagefolder (2|cImageFolder), for details seeSetVideoOfflineSource.

Syntax

SetVideoOfflineLoggerCam(char windowName[], long camType, [char filePrefix[]]);

Function

Sets the offline mode logger cam (type and prefix) for a CANoe Video Window .

Parameters

windowName The name of the Video Window.

camType

  • 0|cCamlog2
  • 1|cHostCam

filePrefix

The corresponding prefix of the image files generated by the cam. ForcCamlog2this can be omitted. For details see theImage Files Propertiesin theCANoeVideo Configurationdialog.

Return Values

on preStart { //Configure offline source (image files) SetVideoOfflineSource("Video Window", 2, "..\\Measurement\\VideoFrames"); //Configure pattern to parse the time stamps of the images SetVideoOfflineLoggerCam("Video Window", 1, "CAM1_"); }

SetVideoOfflineSource | SetVideoRecordFile | SetVideoTriggerTimes | StartVideoRecording | StopVideoRecording