Function GenieNode_setData

Function Documentation

Genie_Status_t GenieNode_setData(const GenieNode_Handle_t nodeHandle, const GenieNode_IOName_t nodeIOName, const void *data, const size_t dataSize, const char *dataConfig)

A function to set data on a node.

Parameters
  • nodeHandle – [in] A node handle.

  • nodeIOName – [in] Node IO name.

  • data – [in] A pointer to the data buffer.

  • dataSize – [in] Databuffer size in bytes.

  • dataConfig – [in] Optional data configuration.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Node handle is invalid.

  • GENIE_STATUS_ERROR_MEM_ALLOC: Memory (de)allocation failure.