THM1176InstrumentDriver  1.0
C++ API for Metrolab THM1176
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

 MTL
 
 MTL::Instrument
 
 MTL::Instrument::THM1176Types
 

Functions

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

Detailed Description

THM1176 API: type conversion utilities.

Definition in file THM1176TypeConversions.cpp.