Skip to main content

vFlashGetLastErrorMessage

Valid for: CANoe DE Note With the following function(s) a CAPL program can use vFlash to program an ECU. vFlash has to be installed on the system running the RT kernel. See also: vFlash Automation (Sample Configuration).

Function Syntax

void vFlashGetLastErrorMessage();

Description

Requests a call to the CAPL callback vFlashErrorMessage containing information on the error that occurred.

Parameters

Return Values

Example

// ...Error occurred...
vFlashGetLastErrorMessage();
}

void vFlashErrorMessage(char errorMsg[])
{
  write("Error %s", errorMsg);
}