Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_AddKeyGroupDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
VTIL_AddKeyGroup
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
VTIL_AddKeyGroup(dword maskIndex, dword position, dbNode workingSetMaster, dword keyGroupId); // form 1VTIL_AddKeyGroup(dword maskIndex, dword position, dword workingSetMasterAddress, dword keyGroupId); // form 2VTIL_AddKeyGroup(dbNode vt, dword maskIndex, dword position, dbNode workingSetMaster, dword keyGroupId); // form 3VTIL_AddKeyGroup(dbNode vt, dword maskIndex, dword position, dword workingSetMasterAddress, dword keyGroupId); // form 4
Description
Adds a Key Group to a User-Layout Data Mask of the Virtual Terminal. VT IL does not store added Key Groups in the CANoe DE product configuration. But the VT Window stores the layout of User-Layout Masks. If the VT IL is coupled with a VT Window, then VT Window transfers the layout of User-Layout Masks to the VT IL at startup. You can remove a Key Group with VTIL_RemoveKeyGroup or VTIL_ClearUserLayoutMask.Parameters
- maskIndex: Index of the User-Layout Mask, 0..10. Value of maskIndex must be smaller than the number of User-Layout Masks (which can be configured with VTIL_SetNodeProperty).
- position: Adds the Key Group at this position in the User-Layout Soft Key Mask, 0..64. Position must be smaller than the number of User-Layout Soft Keys (which can be configured with VTIL_SetNodeProperty).
- workingSetMaster: Working Set Master which provides the Key Group.
- workingSetMasterAddress: Address of the Working Set Master which provides the Key Group.
- keyGroupId: Object ID of the Key Group.
- vt: VT simulation node to apply the function.
Return Values
- 0: Key Group is successfully added.
- < 0: An error has occurred, see IL Error Code.