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

Iso11783IL_OPLock

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_OPLock( dword lock, dword maskID, dword timeout ); // form 1
  • long Iso11783IL_OPLock( dbNode implement, dword lock, dword maskID, dword timeout ); // form 2

Description

The function locks the screen updates on the Virtual Terminal. A Lock command is sent to the Virtual Terminal.

Parameters

  • lock
    • 0: unlock
    • 1: lock
  • maskID
    • object ID of the data mask object
  • timeout
    • timeout in [ms]
  • implement
    • Simulation node to apply the function.

Return Values

  • 0
    • function has been executed successfully
  • < 0

Example

Iso11783IL_OPLock( 1200, 1, 500 );