GenICam_SDK.docx
27
4.6 Memory transfer functions
csiReadMemory
Read memory from a register address on the device
Syntax
csiErr csiReadMemory(csiHandle device, uint64_t address, char* buffer, size_t sizeBytes)
Parameters:
In: device:
Handle provided by the
-function
address:
The register address to read from
buffer:
The buffer to which the data should be read
sizeBytes:
The size of the buffer to which the buffer should be read and at the same time the number of bytes
to read from the address.
Out:
Return value:
Returns csiSuccess or an error defined in the csiErr-Enum.
Comment:
csiWriteMemory
Write memory to a register address on the device
Syntax
csiErr csiWriteMemory(csiHandle device, uint64_t address, const char* buffer, size_t sizeBytes)
Parameters:
In: device:
Handle provided by the
-function
address:
Address of the register on the device to which the memory should be written
buffer:
Buffer holding the data to write
sizeBytes:
The number of bytes to write from buffer to the register address
Out:
Return value:
Returns csiSuccess or an error defined in the csiErr-Enum.
Comment: