Skip to main content
Skip table of contents

ReadRaw [LJM User's Guide]

Attempts to receive unaltered bytes from a device.

Syntax

LJM_ERROR_RETURN LJM_ReadRaw(
int Handle,
unsigned char * Data,
int NumBytes)

Parameters

Handle [in]

A device handle. The handle is a connection ID for an active device. Generate a handle with LJM_Open or LJM_OpenS.

Data [Out]

Buffer to be filled with bytes from the read

NumBytes [out]

The number of bytes that were read, or -1 for error.

Returns

LJM errorcode or 0 for no error.

Remarks

Must be used in conjunction with LJM_WriteRaw.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.