Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » getOfflineFileName

getOfflineFileName

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

Description

Returns the complete path of one file of the currently used offline source files. If form 1 is used, the first file is returned, otherwise the index of the file to return is passed as parameter.

Parameters

  • buffer: Space for the returned string.
  • bufferSize: Size of the buffer.
  • index: Index of the returned offline file.

Return Values

  • 0: If no error
  • 1: If buffer is too small
  • 2: For other errors (e.g. not in offline mode)

Example