Raw Byte Functions Overview
These functions do not provide full device synchronization within LJM. They are provided for advanced users familiar with Modbus that want to control the exact bytes sent/received.
These functions do not provide full device synchronization within LJM. They are provided for advanced users familiar with Modbus that want to control the exact bytes sent/received.
Attempts to receive unaltered bytes from a device.
LJM_ERROR_RETURN LJM_ReadRaw(
int Handle,
unsigned char * Data,
int NumBytes)
LJM errorcode or 0 for no error.
Must be used in conjunction with LJM_WriteRaw.
Attempts to send unaltered bytes to a device.
LJM_ERROR_RETURN LJM_WriteRaw(
int Handle,
const unsigned char * Data,
int NumBytes)
LJM errorcode or 0 for no error.
Must be used in conjunction with LJM_ReadRaw.