nxLibGetBinary

Navigation:  NxLib API > C Interface > Read Access >

nxLibGetBinary

Previous pageReturn to chapter overviewNext page

Retrieves data of a Binary item.

Signature

void nxLibGetBinary (NXLIBERR* result, NXLIBSTR itemPath, void* destinationBuffer, NXLIBINT bufferSize, NXLIBINT* bytesCopied, NXLIBDOUBLE* timestamp);

Parameters

result

The error code of the operation.

itemPath

The path of the item to access.

destinationBuffer

A pointer to the memory, where the item content should be copied.

bufferSize

The size of the given buffer in bytes.

bytesCopied

A pointer to an integer. The variable will be filled with the actual number of bytes written to the buffer.

timestamp

The timestamp of the binary blob copied to the buffer.

Return Value

none