Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_OPLoadAuxAssignment

Iso11783IL_OPLoadAuxAssignment

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783IL_OPLoadAuxAssignment( char filename[] ); // form 1
long Iso11783IL_OPLoadAuxAssignment( dbNode implement, char filename[] ); // form 2

Description

This function loads the Preferred Auxiliary Input Assignment from an INI file. If the ECU is active, the Preferred Assignment Message is sent immediately. Otherwise, it is sent if the ECU gets active. The Preferred Assignment must be saved with Iso11783IL_OPSaveAuxAssignment before.

Parameters

  • filename: Filename of an INI file
  • implement: Simulation node to apply the function.

Return Values

  • 0: Function has been executed successfully
  • < 0: An error has occurred, see error codes

Example

Iso11783IL_OPLoad( "ObjectPool.iop", "pool001"  );
Iso11783IL_OPLoadAuxAssignment( "Sprayer.INI");
Iso11783IL_OPActivate();