COObjGetSize
Description
This function returns the size of the given object directory entry.
...
The following example gets the size of the hypothetical application specific object entry "[1234:56]" within the object directory of the CANopen node AppNode.
Code Block | ||
---|---|---|
| ||
CPU_INT32U size; CO_OBJ *entry; : entry = CODirFind (&(AppNode.Dir), CO_DEV(0x1234,0x56)); size = COObjGetSize (entry, 0); : |