IODSubObject.SubIndex (PROP) ¶ PROPERTY SubIndex : BYTE SubIndex of object
IODSubObject.pData (PROP) ¶ PROPERTY pData : POINTER TO BYTE Gets the pointer to the object value. Data is saved in Host Byte Order and can be directly accessed and modified. Note When changing an object manually, don’t forget to call IObjectDictionary.RaiseWriteObject before and IObjectDictionary.RaiseObjectChanged after modifiying the object. This is important to notify the stack and all other instances implementing IODCallback that an object change has happened. Otherwise there could be a stack missbehaviour regarding this object. But you can also call IObjectDictionary.WriteObject or IObjectDictionary.WriteObjectByAddress to modify an object’s value. In this case events are raised automatically.
IODSubObject.pDefault (PROP) ¶ PROPERTY pDefault : POINTER TO BYTE Gets the pointer to the object’s default value. Data is saved in Host Byte Order and should not be changed.
IObjectDictionary (ITF) ¶ INTERFACE IObjectDictionary EXTENDS __SYSTEM.IQueryInterface Defines the interface of a CANopen Object Dictionary. Note The ObjectDictionary of a slave instance can be retrieved by CANopenDevice.ObjectDictionary . Methods: GetObject GetObjectToWrite RaiseObjectChanged RaiseReadObject RaiseWriteObject ReadObject ReadObjectByAddress RegisterCallback UnregisterCallback WriteObject WriteObjectByAddress Structure: Callback RegisterCallback (Method) UnregisterCallback (Method) Events RaiseObjectChanged (Method) RaiseReadObject (Method) RaiseWriteObject (Method) Read ReadObject (Method) ReadObjectByAddress (Method) Search GetObject (Method) GetObjectToWrite (Method) Write WriteObject (Method) WriteObjectByAddress (Method)
Callback ¶ RegisterCallback (Method) UnregisterCallback (Method)
Events ¶ RaiseObjectChanged (Method) RaiseReadObject (Method) RaiseWriteObject (Method)
Read ¶ ReadObject (Method) ReadObjectByAddress (Method)
Search ¶ GetObject (Method) GetObjectToWrite (Method)
IODSubObject.AccessType (PROP) ¶ PROPERTY AccessType : ACCESSTYPES Returns the access type of an object as a bitfield.
IODSubObject.DataType (PROP) ¶ PROPERTY DataType : DATA_TYPE Returns the CANopen datatype of the object