2.9.2.2 - WriteRaw | LabJack
 
« Close

Datasheets and User Guides

App Notes

Software & Driver

 
Wednesday April 8th, 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 55/56 products in stock. More details.
Supply Chain: Some disruptions. More details.

2.9.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.