2.9.3.8 - UINT32ToByteArray | LabJack
 
« Close

Datasheets and User Guides

App Notes

Software & Driver

 
Monday June 1st 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 51 of 56 products are in stock. More details.
Supply Chain: Minor impacts. More details.

2.9.3.8 - UINT32ToByteArray

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

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

Syntax

LJM_ERROR_RETURN LJM_UINT32ToByteArray(
                      const unsigned int * aUINT32,
                      int RegisterOffset,
                      int NumUINT32,
                      unsigned char * aBytes)

Parameters

aUINT32 [in]
The array of values to be converted to bytes.
RegisterOffset [in]
The register offset to put the converted values in aBytes.
NumUINT32 [in]
The number of values to convert.
aBytes [out]
The converted values in byte form.

Returns

LJM errorcode or 0 for no error.

Remarks

See also: LJM_ByteArrayToUINT32