Skip to main content

SetVideoOfflineLoggerCam

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE Note This function is only allowed in on preStart event procedure. This function is only valid for Offline source Image folder (2|cImageFolder), for details see SetVideoOfflineSource.

Function Syntax

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

Description

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

Parameters

  • windowName: The name of the Video Window.
  • camType: The type of logger cam:
    • 0|cCamlog2
    • 1|cHostCam
    For details see the Image Files Properties in the CANoe DE product Video Configuration dialog.
  • filePrefix: The corresponding prefix of the image files generated by the cam. For cCamlog2 this can be omitted. For details see the Image Files Properties in the CANoe DE product Video Configuration dialog.

Return Values

Example

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_");
}
SetVideoOfflineSourceSetVideoRecordFileSetVideoTriggerTimesStartVideoRecordingStopVideoRecording