Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_EditStringValue, VTIL_ChangeStringValueMsgDocumentation 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_EditStringValue, VTIL_ChangeStringValueMsg
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long VTIL_EditStringValue(dword objectId, char value[], dword duration); // form 1long VTIL_EditStringValue(dword objectId, char value[], dword duration, dword option); // form 2long VTIL_EditStringValue(dbNode vt, dword objectId, char value[], dword duration); // form 3long VTIL_EditStringValue(dbNode vt, dword objectId, char value[], dword duration, dword option); // form 4long VTIL_ChangeStringValueMsg(dword objectId, char value[]); // form 5long VTIL_ChangeStringValueMsg(dbNode vt, dword objectId, char value[]); // form 6
Description
Editing of an Input String object. The VTIL_EditStringValue methods simulate the selection, opening, value modification and closing of the Input String object. The corresponding VT messages are sent. If the object is already selected or opened for input, then the steps Select, Open and Close are skipped. The VTIL_ChangeStringValueMsg methods send only the VT Change String Value message (without influencing any button or input object and without triggering any event in the Virtual Terminal).Parameters
- vt: VT simulation node to apply the function
- objectId: Input object ID
- value: New string value
- duration [ms]: After this duration the edit process ends
- option:
- 0: No additional option
- 1: Edit object even it is not part of the active Data/Alarm Mask
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code