« Close

Datasheets and User Guides

App Notes

Software & Driver

 

2.8.2.2 - WriteRaw

Attempts to send unaltered bytes to a device.

Syntax

LJM_ERROR_RETURN LJM_WriteRaw(
                      int Handle,
                      const 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 [in]
Buffer of bytes to send to the device.
NumBytes [in]
The number of bytes in Data.

Returns

LJM errorcode or 0 for no error.

Remarks

Must be used in conjunction with LJM_ReadRaw.