| THM1176InstrumentManager 1.2 Qt Object abstraction for Metrolab THM1176

Loading...
Searching...
No Matches
THM1176TypeConversions.cpp File Reference

THM1176 API: type conversion utilities. More...

`#include <cfloat>`
`#include "THM1176TypeConversions.h"`
`#include "SCPIInstrumentBuffer.h"`
`#include "Helpers.h"`
`#include "OSDefines.h"`
Include dependency graph for THM1176TypeConversions.cpp:

Go to the source code of this file.

## Namespaces
namespace | MTL
namespace | MTL::Instrument
namespace | MTL::Instrument::THM1176Types

## Functions
I16 | MTL::Instrument::THM1176Types::BinaryToI16 (const char pBinary[2])
| Convert binary to I16, taking into account endedness.
I32 | MTL::Instrument::THM1176Types::BinaryToI32 (const char pBinary[4])
| Convert binary to I32, taking into account endedness.
bool | MTL::Instrument::THM1176Types::StringToUnits (std::string SUnits, eUnits &rUnits)
| Convert measurement units from string to enumeration.
std::string | MTL::Instrument::THM1176Types::UnitsToString (eUnits Units)
| Convert measurement units from enumeration to string.
bool | MTL::Instrument::THM1176Types::TestTHM1176Types ()
| Test the conversion routines.

## Detailed Description

THM1176 API: type conversion utilities.

Definition in file THM1176TypeConversions.cpp.