Admin Production ni-theme
Current Publication

ToLittleEndian16

LabWindows/CVI

ToLittleEndian16

unsigned short ToLittleEndian16 (unsigned short number);

Purpose

This function changes the endianess of the input number to little endian layout.

Parameters

Input
Name Type Description
number unsigned short Pass the number whose endianess you want to change.

Return Value

Name Type Description
result unsigned short Returns the converted number. Returns zero if the system is using neither little nor big endian layout.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 9.0 and later