Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL)

ISO11783 Virtual Terminal Interaction Layer

(Only available with ISO11783!) Valid for: CANoe DE • CANoe4SW DE To use the CAPL functions the ISO11783_VT_IL.dll i.e. Virtual Terminal Interaction Layer (VT IL) must be included. ON THIS PAGE:

Callback Functions

FunctionsShort Description
VTIL_OnAddressClaimConflictIs called if an address conflict is detected.
VTIL_OnAddressViolationIs called if an address violation is detected.
VTIL_OnCAIs called from the IL when a Command Address message is received.
VTIL_OnChangedStateIs called if the IL has changed its state.
VTIL_OnErrorIs called if an error has occurred.
VTIL_OnRequestIs called if a request (0xEA00) is received.
VTIL_OnRxMessageIs called from the IL if the IL receives the parameter group, namely before the parameter group is processed by the IL.
VTIL_OnTxMessageIs called if a message was sent successfully.
VTIL_OnTxPrepareIs called before a parameter group is sent.

DTC Support

FunctionsShort Description
VTIL_ActivateDiagnosticsSupportActivates or deactivates the support of ISO11783 diagnostics by the IL.
VTIL_ActivateDTCActivates a diagnostics trouble code (DTC) and add it to the list of active DTCs.
VTIL_ClearAllDTCsClears the list of active DTCs as well as the list of previously active DTCs.
VTIL_DeactivateDTCDeactivates a diagnostics trouble code (DTC) and removes it from the list of active DTCs.
VTIL_GetDTCStatusReturns the current occurrence count of a diagnostics trouble code (DTC).

Node Control

FunctionsShort Description
VTIL_AcceptRxPGChecks if the received parameter group is addressed to the ISO11783 IL.
VTIL_ControlInitSuppress the auto-start function of the IL.
VTIL_ControlStartActivate node to start Address Claiming.
VTIL_ControlStopDeactivates the IL and stops sending cyclic messages.
VTIL_EnableAddressViolationDetectionActivates detection of address violations by other nodes.
VTIL_EnableNameManagementThis function activates the name management of a node.
VTIL_GetAddressReturns the address that is used by the VT IL.
VTIL_GetStateReturns the current state of the VT IL.
VTIL_SetNodePropertyChanges an internal property of the node.
VTIL_GetDeviceNameGets the NAME as reported on the bus.

Other Functions

FunctionsShort Description
VTIL_GetLastErrorReturns the value of the last called VT IL function.
VTIL_GetLastErrorTextReturns the textual description of the value of the last called VT IL function.
VTIL_SetVerbositySet verbosity for writing in Write Window.

Signal/Message Access

FunctionsShort Description
VTIL_SetMsgEventSends a message immediately.
VTIL_SetMsgRawDataSets the data bytes of the message.
VTIL_SetSignalSets the physical value of a signal.
VTIL_SetSignalRawSets the raw value of a signal.

VT – Fault Injection for Messages

FunctionsShort Description
VTIL_BlockRxMessagePrevents processing of a received message by the Interaction Layer.
VTIL_BlockTxMessagePrevents transmitting of a message generated by the interaction layer.
VTIL_DelayRxMessageDelays processing of a received message by the interaction layer.
VTIL_ManipulateMessageModifies the content of a message generated and sent by the interaction layer.
VTIL_SetResponseContentChanges the content of the next VT response.
VTIL_SetVTStatusChanges the content and cycle time of the VT Status message.

VT – Fault Injection for Transport Protocols

FunctionsShort Description
VTIL_BlockTxTpAbortPrevents transmission of (E)TP.Abort message by the Interaction Layer.
VTIL_BlockTxTpCtsPrevents transmission of (E)TP.CTS message by the Interaction Layer.
VTIL_BlockTxTpDpoPrevents transmitting of a ETP.DPO message generated and sent by the interaction layer.
VTIL_BlockTxTpDtPrevents transmission of (E)TP.DT message by the Interaction Layer.
VTIL_BlockTxTpEomaPrevents transmission of (E)TP.EoMA message by the Interaction Layer.
VTIL_DelayTxTpAbortDelays transmission of (E)TP.Abort message by the Interaction Layer.
VTIL_DelayTxTpCtsDelays transmission of (E)TP.CTS message by the Interaction Layer.
VTIL_DelayTxTpDpoDelays transmitting of a ETP.DPO message generated and sent by the interaction layer.
VTIL_DelayTxTpDtDelays transmission of (E)TP.DT message by the Interaction Layer.
VTIL_DelayTxTpEomaDelays transmission of (E)TP.EoMA message by the Interaction Layer.
VTIL_FreezeTpFreezes the current (E)TP connection immediately.

VT – Handling

FunctionsShort Description
VTIL_ACK, VTIL_ACKMsgSimulates pressing of the ACK means of the Virtual Terminal.
VTIL_ActivateWorkingSetSimulates the activating of a Working Set in the Virtual Terminal.
VTIL_AddKeyGroupAdds a Key Group to a User-Layout Data Mask of the Virtual Terminal.
VTIL_AddWindowMaskAdds a Window Mask to a User-Layout Data Mask of the Virtual Terminal.
VTIL_ClearUserLayoutMaskRemoves all Window Masks and all Key Groups from a User-Layout Mask of the Virtual Terminal.
VTIL_CreateAuxAssignmentAssigns an Auxiliary Input to an Auxiliary Function
VTIL_EditNumericValueSimulates editing of an Input Number or Input List object.
VTIL_EditStringValueSimulates editing of an Input String object.
VTIL_ESC, VTIL_ESCMsgSimulates pressing of the ESC means of the Virtual Terminal.
VTIL_PressButtonSimulates pressing of a Button of the active Data/Alarm Mask.
VTIL_PressSoftKeySimulates pressing of a Soft Key of the active Soft Key Mask.
VTIL_RemoveAuxAssignmentRemoves an auxiliary assignment
VTIL_RemoveKeyGroupRemoves a Key Group from a User-Layout Soft Key Mask of the Virtual Terminal.
VTIL_RemoveWindowMaskRemoves a Window Mask from a User-Layout Data Mask of the Virtual Terminal.
VTIL_SelectInputObjectSends the VT Select Input Object message.
VTIL_TouchSimulates touching into the Data Mask.

VT – Handling (User-Layout Mask)

FunctionsShort Description
VTIL_AddKeyGroupAdds a Key Group to a User-Layout Data Mask of the Virtual Terminal.
VTIL_AddWindowMaskAdds a Window Mask to a User-Layout Data Mask of the Virtual Terminal.
VTIL_ClearUserLayoutMaskRemoves all Window Masks and all Key Groups from a User-Layout Mask of the Virtual Terminal.
VTIL_RemoveKeyGroupRemoves a Key Group from a User-Layout Soft Key Mask of the Virtual Terminal.
VTIL_RemoveWindowMaskRemoves a Window Mask from a User-Layout Data Mask of the Virtual Terminal.

VT – Other Functions

FunctionsShort Description
VTIL_ConnectSysVarConnects an object from the object pool to a system variable.
VTIL_DeleteAllStoredVersionsDeletes all stored object pool versions.
VTIL_ExportObjectPoolExports the current object pool of the Working Set Master into a file (iop).
VTIL_GetChildObjectIdReturns the ID of a child object.
VTIL_GetIdOfVisibleObjectReturns the object ID of a visible object at a specified position.
VTIL_GetNextTANGets the TAN that will be used in the next activation message.
VTIL_GetNumberOfChildObjectsReturns the number of child objects contained in an object.
VTIL_IsObjectVisibleChecks if an object is visible in the current Data Mask or Soft Key Mask.
VTIL_PressISBSimulates pressing the ISOBUS Shortcut Button [ISB] of the Virtual Terminal.
VTIL_RegisterObjectPoolRegisters an object pool file (iop).
VTIL_SaveAsImageSaves the current Data/Alarm Mask or one of the current Soft Keys as an image.
VTIL_SetNextTANSets the TAN to be used in the next activation message.

VT – Value Request

FunctionsShort Description
VTIL_GetActiveMaskReturns object ID of the active Data or Alarm Mask.
VTIL_GetDisplayedValueReturns the displayed value of an object.
VTIL_GetDwordValueReturns the value of an object attribute.
VTIL_GetDoubleValueReturns the value of an object or of an object attribute.
VTIL_GetStringValueReturns the value of an object.
IL Error CodesVT IL PropertiesVT IL Network Properties