Iso11783OPSetAttribute
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
The function sets an attribute value of an object. The object must exist in the object pool and support the attribute ID. If the Object Pool API is active, the Change Attribute command (175) is sent to the Virtual Terminal. This can be suppressed with Bit 0 in options.Parameters
- ecuHandle: Handle of the ECU (must be created with Iso11783CreateECU)
- objectID: Object ID of an object in the object pool
- attributeID: Attribute ID, see ISO11783-6
- value: New value
- options: Options
Bit 0 = 1: suppress Change Attribute Value command
Return Values
- 0: function has been executed successfully
- < 0: an error has occurred, see error codes
- -1108: Value is out of range
- -1109: Attribute is read only
- -1110: Object ID not found
- -1111: Attribute ID not supported