![]() | GetInstrumentBigEndian |
Gets a value indicating whether the device returns binary data in big endian or little endian format.
virtual bool GetInstrumentBigEndian() const abstract;
Returns true if the device uses big endian byte ordering or false if the device uses little endian byte ordering.
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.
The following example demonstrates use of the GetInstrumentBigEndian function.
// CoAcme4321.cpp HRESULT Acme4321::OnFinalInitialize() { HRESULT hr = S_OK; bool bBigEndian = io.GetInstrumentBigEndian(); return hr; }