SetVideoRecordFile
Note This function is only allowed inon preStartevent procedure.
Syntax
SetVideoRecordFile(char windowName[], char recordFile[]);
Function
Sets the record file for aCANoeVideo Window.
Parameters
windowName The name of the Video Window.
recordFile
- an absolute path. All non-existing directories of the path will be created.
- a relative path. In that case the record file will be placed in the path relative to the configuration file. All non-existing directories of the path will be created.
- a single file name. In that case the record file will be placed in the directory of the current configuration file.
- If a valid path is provided the recorder will automatically be activated, even if it is deactivated in theCANoeVideo Configurationdialog. If an empty string (" ") is provided as path, the recorder will automatically be deactivated, even if it is activated in theCANoeVideo Configurationdialog.
- Within a string literal a second backslash has to be set (see example betow).
Return Values
—
Example
SetVideoOfflineLoggerCam | SetVideoOfflineSource | SetVideoTriggerTimes | StartVideoRecording | StopVideoRecording