GetInstrumentBigEndian
Gets a value indicating whether the device returns binary data in big endian or little endian format.
Syntax
Section titled “Syntax”virtual bool GetInstrumentBigEndian() const abstract;Return value
Section titled “Return value”Returns true if the device uses big endian byte ordering or false if the device uses little endian byte ordering.
Remarks
Section titled “Remarks”This function returns the current setting for the device byte ordering. By default, the byte order is big endian. The setting can be controlled via the SetInstrumentBigEndian function.
Example
Section titled “Example”The following example demonstrates use of the GetInstrumentBigEndian function.
HRESULT Acme4321::OnFinalInitialize(){ HRESULT hr = S_OK;
bool bBigEndian = io.GetInstrumentBigEndian();
return hr;}