# null

# SetVideoOfflineLoggerCam

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

**Note**

This function is only allowed in [on preStart](../CAPLfunctionsEventProceduresOverview.md) event procedure. This function is only valid for **Offline** source **Image** folder (2|cImageFolder), for details see [SetVideoOfflineSource](CAPLfunctionSetVideoOfflineSource.md).

## 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](../../../CANoeCANalyzer/Windows/Video/VideoWindow.md).

## 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](../../../CANoeCANalyzer/Windows/Video/VideoWindowConfiguration.md) 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](../../../CANoeCANalyzer/Windows/Video/VideoWindowConfiguration.md) dialog.

## Return Values

—

## Example

```plaintext
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](CAPLfunctionSetVideoOfflineSource.md) • [SetVideoRecordFile](CAPLfunctionSetVideoRecordFile.md) • [SetVideoTriggerTimes](CAPLfunctionSetVideoTriggerTimes.md) • [StartVideoRecording](CAPLfunctionStartVideoRecording.md) • [StopVideoRecording](CAPLfunctionStopVideoRecording.md)
