Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Task Controller Interaction Layer (TC IL) » TCIL_MakeDdopAvailable

TCIL_MakeDdopAvailable

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long TCIL_MakeDdopAvailable(char[] ddopPath[]); // form 1
long TCIL_MakeDdopAvailable(dbNode tc, char[] ddopPath[]); // form 2

Description

Loads a device descriptor object pool (DDOP) into the Task Controller. Represents the situation that the DDOP is available on the side of Task Controller (e.g. via task file). An available DDOP can be activated with the Object-pool Activate message.

Parameters

  • tc: Task Controller simulation node to apply the function.
  • ddopPath: Path of the DDOP file (*.XML). Path has to be absolute or relative relating to the folder of the CANoe configuration.

Return Values

  • 0: Property has been set successfully
  • < 0: An error has occurred: IL Error Code

Example

Example form 2
long result;
result = TCIL_MakeDdopAvailable(TC, "xml\\sprayerV1.xml");
if (result < 0)
{
  TestStepFail("Failed to make DDOP file available!");
}