uint32_t EI_API_CIP_getAssemblySize | ( | T * | pCipNode_p, |
uint16_t | assemblyInstanceId_p, | ||
uint16_t * | pSize_p | ||
) |
Get assembly instance attribute Size.
Retrieves assembly instance attribute Size
(Attribute ID 4), as number of bytes in attribute Data
(Attribute ID 3).
[in] | pCipNode_p | Pointer to the CIP node. |
[in] | assemblyInstanceId_p | Assembly instance identifier. |
[out] | pSize_p | Value of assembly instance attribute ID 4, Size . |
EI_API_CIP_eERR_OK | Success. |
EI_API_CIP_eERR_NODE_INVALID | CIP node is invalid, possibly EI_API_CIP_NODE_new() was not called. |
EI_API_CIP_eERR_ASSEMBLY_DOES_NOT_EXIST | The assembly with the given ID could not be found. |
EI_API_CIP_eERR_ASSEMBLY_INVALID_SIZE | Invalid size pointer. |