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

Iso11783IL_OPEnableObject

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783IL_OPEnableObject( dword objectID, dword enable ); // form 1
long Iso11783IL_OPEnableObject( dbNode implement, dword objectID, dword enable ); // form 2

Description

The function activates or deactivates an input object. A Enable Object command is sent to the Virtual Terminal.

Parameters

  • objectID: object ID of an input object
  • enable:
    • 1: activate
    • 0: deactivate
  • 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_OPEnableObject( 1200, 1 );