CAPL Script

RegisterUserFile

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

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