- ByteArrayToUINT16 | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver

Monday April 6th, 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. - ByteArrayToUINT16

Converts an array of bytes to 16-bit unsigned integer values, performing automatic endian conversions if necessary.

This function is not needed except for applications performing raw byte manipulation, as with the Raw Byte functions.


                      const unsigned char * aBytes,
                      int RegisterOffset,
                      int NumUINT16,
                      unsigned int * aUINT16)


aBytes [in]
The bytes to be converted.
RegisterOffset [in]
The register offset to get the values from in aBytes.
NumUINT16 [in]
The number of values to convert.
aUINT16 [out]
The converted bytes in 16-bit unsigned integer value form.


LJM errorcode or 0 for no error.


See also: LJM_UINT16ToByteArray