Skip to main content

TestWaitForvFlashInitialized , TestWaitForvFlashDeinitialized

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

Description

Waits until the vFlash library is initialized/deinitialized. A call to TestWaitForvFlashDeinitialized is mandatory if any other call to a function of the vFlash API is made.

Parameters

Return Values

  • 1: Success
  • 1010: Initialization error, e.g. vFlash not installed (correctly)
  • other: please refer to enum vFlashStatusCode in Reusable\CAPL_Includes\vFlash\Utilities.cin

Example

TestWaitForvFlashReprogrammed