Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagecpp
    CPU_INT32U  size;
    CO_OBJ     *entry;
    :
    entry = CODirFind    (&(AppNode.Dir), CO_DEV(0x1234,0x56));
    size  = COObjGetSize (entry, 0);
    :