Sets data of a Binary item.
The data format must be identical to the current format of the binary node. The current format can be queried using nxLibGetBinaryInfo. The time stamp of the node will be set to the current UTC time.
void nxLibSetBinary (NXLIBERR* result, NXLIBSTR itemPath, void const* sourceBuffer, NXLIBINT bufferSize);
result |
The error code of the operation. |
itemPath |
The path of the item to access. |
sourceBuffer |
A pointer to the memory, where the new item content should be read from. |
bufferSize |
The size of the data in bytes. |
none