VTIL_GetDwordValue, VTIL_GetDoubleValue, VTIL_GetStringValue
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long VTIL_GetDwordValue(dbNode workingSetMaster, dword objectId, dword & value); // form 1long VTIL_GetDwordValue(dword addressWorkingSetMaster, dword objectId, dword & value); // form 2long VTIL_GetDwordValue(dbNode workingSetMaster, dword objectId, dword attributeID, dword & value); // form 3long VTIL_GetDwordValue(dword addressWorkingSetMaster, dword objectId, dword attributeID, dword & value); // form 4long VTIL_GetDwordValue(dbNode vt, dbNode workingSetMaster, dword objectId, dword & value); // form 5long VTIL_GetDwordValue(dbNode vt, dword addressWorkingSetMaster, dword objectId, dword & value); // form 6long VTIL_GetDwordValue(dbNode vt, dbNode workingSetMaster, dword objectId, dword attributeID, dword & value); // form 7long VTIL_GetDwordValue(dbNode vt, dword addressWorkingSetMaster, dword objectId, dword attributeID, dword & value); // form 8long VTIL_GetDoubleValue(dbNode workingSetMaster, dword objectId, dword attributeID, double & value); // form 9long VTIL_GetDoubleValue(dword addressWorkingSetMaster, dword objectId, dword attributeID, double & value); // form 10long VTIL_GetDoubleValue(dbNode vt, dbNode workingSetMaster, dword objectId, dword attributeID, double & value); // form 11long VTIL_GetDoubleValue(dbNode vt, dword addressWorkingSetMaster, dword objectId, dword attributeID, double & value); // form 12long VTIL_GetStringValue(dbNode workingSetMaster, dword objectId, char* value, dword bufferLength); // form 13long VTIL_GetStringValue(dword addressWorkingSetMaster, dword objectId, char* value, dword bufferLength); // form 14long VTIL_GetStringValue(dbNode vt, dbNode workingSetMaster, dword objectId, char* value, dword bufferLength); // form 15long VTIL_GetStringValue(dbNode vt, dword addressWorkingSetMaster, dword objectId, char* value, dword bufferLength); // form 16long VTIL_GetStringValue(dbNode workingSetMaster, dword objectId, char* value); // form 17long VTIL_GetStringValue(dword addressWorkingSetMaster, dword objectId, char* value); // form 18long VTIL_GetStringValue(dbNode vt, dbNode workingSetMaster, dword objectId, char* value); // form 19long VTIL_GetStringValue(dbNode vt, dword addressWorkingSetMaster, dword objectId, char* value); // form 20
Description
Returns the value of an object or of an object attribute. You can use VTIL_GetDoubleValue or VTIL_GetDwordValue without attribute ID to get the numeric value of a Key object, Button object or an object that supports the Change Numeric Value command. You can use VTIL_GetStringValue to get the string value of an Input String, Output String, String Variable or an Input Attribute object.Parameters
- vt: VT simulation node to apply the function
- workingSetMaster: Working Set Master which provides the Object Pool
- addressWorkingSetMaster: Address of the Working Set Master which provides the Object Pool
- objectId: Object ID the attribute belongs to
- attributeID: Identifies the necessary attribute (correlate to the AID column of corresponding object definitions from Annex B (Iso11783-6)
- value: Returns the value of the object or attribute
Return Values
- 0: Function has been executed successfully
- < 0: An error has occurred, see IL Error Code