Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

COObjRdBufStart

Description

This function starts the read operation at the beginning of the byte stream from the given object directory entry into the given destination buffer.

Prototype

CPU_INT16S COObjRdBufStart(CO_OBJ     *obj ,
                           void       *buffer,
                           CPU_INT08U  len);

ParameterDescription
obj pointer to the CANopen directory entry
buffer pointer to the destination buffer
len length of destination buffer

Returned Value

 = CO_ERR.NONE   Successful operation

!= CO_ERR.NONE  An error is detected (see section "Error Identification")

Example

The following example reads the byte-stream of the hypothetical application specific object entry "[1234:56]" within the object directory of the CANopen node AppNode.

  • No labels