CAPL Script

RegisterUserFile

Syntax

long RegisterUserFile(char userFilePath[], long isTemporaryRegistration);

Function

Registersuser filesdynamically. This function can be used

Parameters

userFilePath Absolute or relative (to the configuration directory) path of the user file's storage location on the user PC.

isTemporaryRegistration

Sets if the registered file at measurement stop will be deleted or added permanently to the list of theOptiondialog ofCANoe.

Return Values

1: File successfully registered

-1: File registration failed

getUserFilePath