THM1176InstrumentManager  1.0
Qt Object abstraction for Metrolab THM1176
MTL::CTHM1176InstrumentController Class Reference

THM1176 Instrument Controller class: communicate with instrument. More...

#include <CTHM1176InstrumentManager.h>

Inheritance diagram for MTL::CTHM1176InstrumentController:
Collaboration diagram for MTL::CTHM1176InstrumentController:

Public Slots

void Start (THM1176_RSRC_MGR_CLS *pResourceManager)
 Initialize the Instrument Controller. More...
 
void Stop (void)
 Shut down the Instrument Controller. More...
 
void UpdateInstrumentList (CResourceList InstrumentList)
 Update the Instrument Controller's copy of the list of detected instruments. More...
 
void SetCurrentInstrument (tResourceName CurrentInstrument)
 Select the instrument to connect to. More...
 
void SetOperatingMode (eTHM1176OperatingMode OperatingMode)
 Set operating mode. More...
 
void SendTrigger (void)
 Send a bus trigger. More...
 
void SetAveragingParms (sAveraging< uParm > AveragingParms)
 Set the averaging parameters. More...
 
void SetTriggerParms (sInputTrigger< uParm > TriggerParms)
 Set the trigger parameters. More...
 
void SetOutputSelect (sArbitraryMeasurements OutputSelect)
 Select what data is returned. More...
 
void SetSleepParm (bool SleepParm)
 Set whether or not the instrument sleeps after each measurement. More...
 
void SetUnits (eTHM1176Units Units)
 Select the measurement units. More...
 
void SetRangeParms (sRange< uParm > RangeParms)
 Set range parameters. More...
 
void SetCommFormat (eCommunicationFormat CommFormat)
 Set communication format. More...
 
void SetCalibrationOverride (bool Override)
 Set whether or not to override the check for instruments whose zero offset should not be calibrated. More...
 

Signals

void UpdateCurrentInstrument (tResourceName CurrentInstrument)
 Signal that current instrument selection has changed. More...
 
void UpdateInstrumentPointer (CTHM1176Instrument< THM1176_INSTR_CLS, THM1176_RSRC_MGR_CLS > *pTHM1176)
 Signal to broadcast updated pointer to THM1176 Instrument object. More...
 
void UpdateOperatingMode (eTHM1176OperatingMode OperatingMode)
 Signal that the operating mode has changed. More...
 
void UpdateMeasurement (CMeasurement Measurement)
 Signal that a new measurement is available. More...
 
void UpdateErrorList (CErrorList LatestErrors)
 Signal that new errors have been reported. More...
 
void UpdateIdentification (sIdentifier Identification)
 Signal to report identifier information for newly connected instrument. More...
 
void UpdateRangeList (CFluxList RangeList)
 Signal to report list of valid ranges for newly connected instrument. More...
 
void UpdateUnitsList (CTHM1176UnitsList UnitsList)
 Signal to report list of valid measurement units for newly connected instrument. More...
 
void UpdateDivisorList (CDivisorList DivisorList)
 Signal to report divisors associated with valid measurement units for newly connected instrument. More...
 
void UpdateAveragingParmBounds (sAveraging< sBoundedParm > AveragingParmBounds)
 Signal to report bounds of averaging parameters for newly connected instrument. More...
 
void UpdateTriggerParmBounds (sInputTrigger< sBoundedParm > TriggerParmBounds)
 Signal to report bounds of trigger parameters for newly connected instrument. More...
 
void UpdateRangeParmBounds (sRange< sBoundedParm > RangeParmBounds)
 Signal to report bounds of range parameters for newly connected instrument. More...
 
void UpdateAveragingParms (sAveraging< uParm > AveragingParms)
 Signal a change of the averaging parameters. More...
 
void UpdateTriggerParms (sInputTrigger< uParm > TriggerParms)
 Signal a change of the trigger parameters. More...
 
void UpdateOutputSelect (sArbitraryMeasurements OutputSelect)
 Signal a change of the output selection parameters. More...
 
void UpdateSleepParm (bool SleepParm)
 Signal a change of the sleep parameter. More...
 
void UpdateUnits (eTHM1176Units Units)
 Signal a change of the measurement units. More...
 
void UpdateRangeParms (sRange< uParm > RangeParms)
 Signal a change of the range parameters. More...
 
void UpdateCommFormat (eCommunicationFormat CommFormat)
 Signal a change of the communication format. More...
 

Public Member Functions

 CTHM1176InstrumentController (void)
 Constructor. More...
 
 ~CTHM1176InstrumentController (void) override
 Destructor. More...
 

Detailed Description

THM1176 Instrument Controller class: communicate with instrument.

The user need not worry about this object. It is created and destroyed automatically by the THM1176 Instrument Manager public interface.

Definition at line 292 of file CTHM1176InstrumentManager.h.

Constructor & Destructor Documentation

◆ CTHM1176InstrumentController()

MTL::CTHM1176InstrumentController::CTHM1176InstrumentController ( void  )
inline

Constructor.

Definition at line 358 of file CTHM1176InstrumentManager.h.

◆ ~CTHM1176InstrumentController()

MTL::CTHM1176InstrumentController::~CTHM1176InstrumentController ( void  )
inlineoverride

Destructor.

Definition at line 380 of file CTHM1176InstrumentManager.h.

Member Function Documentation

◆ SendTrigger

void CTHM1176InstrumentController::SendTrigger ( void  )
slot

Send a bus trigger.

Definition at line 628 of file CTHM1176InstrumentManager.cpp.

◆ SetAveragingParms

void CTHM1176InstrumentController::SetAveragingParms ( sAveraging< uParm AveragingParms)
slot

Set the averaging parameters.

Parameters
[in]AveragingParmsAveraging parameters.

Definition at line 837 of file CTHM1176InstrumentManager.cpp.

◆ SetCalibrationOverride

void CTHM1176InstrumentController::SetCalibrationOverride ( bool  Override)
slot

Set whether or not to override the check for instruments whose zero offset should not be calibrated.

Parameters
[in]OverrideOverride the check if true.

Definition at line 1015 of file CTHM1176InstrumentManager.cpp.

◆ SetCommFormat

void CTHM1176InstrumentController::SetCommFormat ( eCommunicationFormat  CommFormat)
slot

Set communication format.

Parameters
[in]CommFormatCommunication format parameters.

Definition at line 996 of file CTHM1176InstrumentManager.cpp.

◆ SetCurrentInstrument

void CTHM1176InstrumentController::SetCurrentInstrument ( tResourceName  CurrentInstrument)
slot

Select the instrument to connect to.

Parameters
[in]CurrentInstrumentInstrument's VISA resource name.

Definition at line 311 of file CTHM1176InstrumentManager.cpp.

◆ SetOperatingMode

void CTHM1176InstrumentController::SetOperatingMode ( eTHM1176OperatingMode  OperatingMode)
slot

Set operating mode.

Parameters
[in]OperatingModeNew operating mode.

Definition at line 403 of file CTHM1176InstrumentManager.cpp.

◆ SetOutputSelect

void CTHM1176InstrumentController::SetOutputSelect ( sArbitraryMeasurements  OutputSelect)
slot

Select what data is returned.

Parameters
[in]OutputSelectOutput selection parameters.

Definition at line 905 of file CTHM1176InstrumentManager.cpp.

◆ SetRangeParms

void CTHM1176InstrumentController::SetRangeParms ( sRange< uParm RangeParms)
slot

Set range parameters.

Parameters
[in]RangeParmsRange parameters.

Definition at line 977 of file CTHM1176InstrumentManager.cpp.

◆ SetSleepParm

void CTHM1176InstrumentController::SetSleepParm ( bool  SleepParm)
slot

Set whether or not the instrument sleeps after each measurement.

Parameters
[in]SleepParmSleep parameter.

Definition at line 918 of file CTHM1176InstrumentManager.cpp.

◆ SetTriggerParms

void CTHM1176InstrumentController::SetTriggerParms ( sInputTrigger< uParm TriggerParms)
slot

Set the trigger parameters.

Parameters
[in]TriggerParmsTrigger parameters.

Definition at line 871 of file CTHM1176InstrumentManager.cpp.

◆ SetUnits

void CTHM1176InstrumentController::SetUnits ( eTHM1176Units  Units)
slot

Select the measurement units.

Parameters
[in]UnitsMeasurement units.

Definition at line 937 of file CTHM1176InstrumentManager.cpp.

◆ Start

void CTHM1176InstrumentController::Start ( THM1176_RSRC_MGR_CLS *  pResourceManager)
slot

Initialize the Instrument Controller.

Parameters
[in]pResourceManagerPointer to VISA Resource Manager.

Definition at line 113 of file CTHM1176InstrumentManager.cpp.

◆ Stop

void CTHM1176InstrumentController::Stop ( void  )
slot

Shut down the Instrument Controller.

Definition at line 119 of file CTHM1176InstrumentManager.cpp.

◆ UpdateAveragingParmBounds

void MTL::CTHM1176InstrumentController::UpdateAveragingParmBounds ( sAveraging< sBoundedParm AveragingParmBounds)
signal

Signal to report bounds of averaging parameters for newly connected instrument.

Parameters
[in]AveragingParmBoundsBounds for averaging parameters.

◆ UpdateAveragingParms

void MTL::CTHM1176InstrumentController::UpdateAveragingParms ( sAveraging< uParm AveragingParms)
signal

Signal a change of the averaging parameters.

Parameters
[in]AveragingParmsNew averaging parameters.

◆ UpdateCommFormat

void MTL::CTHM1176InstrumentController::UpdateCommFormat ( eCommunicationFormat  CommFormat)
signal

Signal a change of the communication format.

Parameters
[in]CommFormatNew communication format.

◆ UpdateCurrentInstrument

void MTL::CTHM1176InstrumentController::UpdateCurrentInstrument ( tResourceName  CurrentInstrument)
signal

Signal that current instrument selection has changed.

Parameters
[in]CurrentInstrumentVISA resource name of newly selected instrument.

◆ UpdateDivisorList

void MTL::CTHM1176InstrumentController::UpdateDivisorList ( CDivisorList  DivisorList)
signal

Signal to report divisors associated with valid measurement units for newly connected instrument.

Parameters
[in]DivisorListList of divisors.

◆ UpdateErrorList

void MTL::CTHM1176InstrumentController::UpdateErrorList ( CErrorList  LatestErrors)
signal

Signal that new errors have been reported.

Parameters
[in]LatestErrorsList of latest errors.

◆ UpdateIdentification

void MTL::CTHM1176InstrumentController::UpdateIdentification ( sIdentifier  Identification)
signal

Signal to report identifier information for newly connected instrument.

Parameters
[in]IdentificationInstrument identifier information.

◆ UpdateInstrumentList

void CTHM1176InstrumentController::UpdateInstrumentList ( CResourceList  InstrumentList)
slot

Update the Instrument Controller's copy of the list of detected instruments.

Parameters
[in]InstrumentListUpdated list of detected instruments.

Definition at line 278 of file CTHM1176InstrumentManager.cpp.

◆ UpdateInstrumentPointer

void MTL::CTHM1176InstrumentController::UpdateInstrumentPointer ( CTHM1176Instrument< THM1176_INSTR_CLS, THM1176_RSRC_MGR_CLS > *  pTHM1176)
signal

Signal to broadcast updated pointer to THM1176 Instrument object.

Parameters
[in]pTHM1176Updated pointer to THM1176 Instrument object.

◆ UpdateMeasurement

void MTL::CTHM1176InstrumentController::UpdateMeasurement ( CMeasurement  Measurement)
signal

Signal that a new measurement is available.

Parameters
[in]MeasurementNew measurement.

◆ UpdateOperatingMode

void MTL::CTHM1176InstrumentController::UpdateOperatingMode ( eTHM1176OperatingMode  OperatingMode)
signal

Signal that the operating mode has changed.

Parameters
[in]OperatingModeNew operating mode.

◆ UpdateOutputSelect

void MTL::CTHM1176InstrumentController::UpdateOutputSelect ( sArbitraryMeasurements  OutputSelect)
signal

Signal a change of the output selection parameters.

Parameters
[in]OutputSelectNew output selection parameters.

◆ UpdateRangeList

void MTL::CTHM1176InstrumentController::UpdateRangeList ( CFluxList  RangeList)
signal

Signal to report list of valid ranges for newly connected instrument.

Parameters
[in]RangeListList of valid ranges.

◆ UpdateRangeParmBounds

void MTL::CTHM1176InstrumentController::UpdateRangeParmBounds ( sRange< sBoundedParm RangeParmBounds)
signal

Signal to report bounds of range parameters for newly connected instrument.

Parameters
[in]RangeParmBoundsBounds for range parameters.

◆ UpdateRangeParms

void MTL::CTHM1176InstrumentController::UpdateRangeParms ( sRange< uParm RangeParms)
signal

Signal a change of the range parameters.

Parameters
[in]RangeParmsNew range parameters.

◆ UpdateSleepParm

void MTL::CTHM1176InstrumentController::UpdateSleepParm ( bool  SleepParm)
signal

Signal a change of the sleep parameter.

Parameters
[in]SleepParmNew sleep parameter.

◆ UpdateTriggerParmBounds

void MTL::CTHM1176InstrumentController::UpdateTriggerParmBounds ( sInputTrigger< sBoundedParm TriggerParmBounds)
signal

Signal to report bounds of trigger parameters for newly connected instrument.

Parameters
[in]TriggerParmBoundsBounds for trigger parameters.

◆ UpdateTriggerParms

void MTL::CTHM1176InstrumentController::UpdateTriggerParms ( sInputTrigger< uParm TriggerParms)
signal

Signal a change of the trigger parameters.

Parameters
[in]TriggerParmsNew trigger parameters.

◆ UpdateUnits

void MTL::CTHM1176InstrumentController::UpdateUnits ( eTHM1176Units  Units)
signal

Signal a change of the measurement units.

Parameters
[in]UnitsNew measurement units.

◆ UpdateUnitsList

void MTL::CTHM1176InstrumentController::UpdateUnitsList ( CTHM1176UnitsList  UnitsList)
signal

Signal to report list of valid measurement units for newly connected instrument.

Parameters
[in]UnitsListList of measurement units valid for this instrument model.

The documentation for this class was generated from the following files: