nxLibSetBinary

Navigation:  NxLib API > C Interface > Write Access >

nxLibSetBinary

Previous pageReturn to chapter overviewNext page

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.

Signature

void nxLibSetBinary (NXLIBERR* result, NXLIBSTR itemPath, void const* sourceBuffer, NXLIBINT bufferSize);

Parameters

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.

Return Value

none