Skip to main content

TestWaitForvFlashLastErrorMessage

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

long TestWaitForvFlashLastErrorMessage(char errorText[], dword maxLength);

Description

Waits until the last detailed error message is retrieved from vFlash. If a message is received, it is copied into the given buffer.

Parameters

Return Values

  • 1: Success
  • other: please refer to enum vFlashStatusCode in Reusable\CAPL_Includes\vFlash\Utilities.cin

Example

TestWaitForvFlashReprogrammed