![]() |
THM1176InstrumentManager 1.1
Qt Object abstraction for Metrolab THM1176
|
THM1176 Instrument Controller class: communicate with instrument. More...
#include <CTHM1176InstrumentManager.h>
Public Slots | |
void | Start (THM1176_RSRC_MGR_CLS *pResourceManager) |
Initialize the Instrument Controller. | |
void | Stop (void) |
Shut down the Instrument Controller. | |
void | UpdateInstrumentList (CResourceList InstrumentList) |
Update the Instrument Controller's copy of the list of detected instruments. | |
void | SetCurrentInstrument (tResourceName CurrentInstrument) |
Select the instrument to connect to. | |
void | SetOperatingMode (eTHM1176OperatingMode OperatingMode) |
Set operating mode. | |
void | SendTrigger (void) |
Send a bus trigger. | |
void | SetAveragingParms (sAveraging< uParm > AveragingParms) |
Set the averaging parameters. | |
void | SetTriggerParms (sInputTrigger< uParm > TriggerParms) |
Set the trigger parameters. | |
void | SetOutputSelect (sArbitraryMeasurements OutputSelect) |
Select what data is returned. | |
void | SetSleepParm (bool SleepParm) |
Set whether or not the instrument sleeps after each measurement. | |
void | SetUnits (eTHM1176Units Units) |
Select the measurement units. | |
void | SetRangeParms (sRange< uParm > RangeParms) |
Set range parameters. | |
void | SetCommFormat (eCommunicationFormat CommFormat) |
Set communication format. | |
void | SetCalibrationOverride (bool Override) |
Set whether or not to override the check for instruments whose zero offset should not be calibrated. | |
Signals | |
void | UpdateCurrentInstrument (tResourceName CurrentInstrument) |
Signal that current instrument selection has changed. | |
void | UpdateInstrumentPointer (CTHM1176Instrument< THM1176_INSTR_CLS, THM1176_RSRC_MGR_CLS > *pTHM1176) |
Signal to broadcast updated pointer to THM1176 Instrument object. | |
void | UpdateOperatingMode (eTHM1176OperatingMode OperatingMode) |
Signal that the operating mode has changed. | |
void | UpdateMeasurement (CMeasurement Measurement) |
Signal that a new measurement is available. | |
void | UpdateErrorList (CErrorList LatestErrors) |
Signal that new errors have been reported. | |
void | UpdateIdentification (sIdentifier Identification) |
Signal to report identifier information for newly connected instrument. | |
void | UpdateRangeList (CFluxList RangeList) |
Signal to report list of valid ranges for newly connected instrument. | |
void | UpdateUnitsList (CTHM1176UnitsList UnitsList) |
Signal to report list of valid measurement units for newly connected instrument. | |
void | UpdateDivisorList (CDivisorList DivisorList) |
Signal to report divisors associated with valid measurement units for newly connected instrument. | |
void | UpdateAveragingParmBounds (sAveraging< sBoundedParm > AveragingParmBounds) |
Signal to report bounds of averaging parameters for newly connected instrument. | |
void | UpdateTriggerParmBounds (sInputTrigger< sBoundedParm > TriggerParmBounds) |
Signal to report bounds of trigger parameters for newly connected instrument. | |
void | UpdateRangeParmBounds (sRange< sBoundedParm > RangeParmBounds) |
Signal to report bounds of range parameters for newly connected instrument. | |
void | UpdateAveragingParms (sAveraging< uParm > AveragingParms) |
Signal a change of the averaging parameters. | |
void | UpdateTriggerParms (sInputTrigger< uParm > TriggerParms) |
Signal a change of the trigger parameters. | |
void | UpdateOutputSelect (sArbitraryMeasurements OutputSelect) |
Signal a change of the output selection parameters. | |
void | UpdateSleepParm (bool SleepParm) |
Signal a change of the sleep parameter. | |
void | UpdateUnits (eTHM1176Units Units) |
Signal a change of the measurement units. | |
void | UpdateRangeParms (sRange< uParm > RangeParms) |
Signal a change of the range parameters. | |
void | UpdateCommFormat (eCommunicationFormat CommFormat) |
Signal a change of the communication format. | |
Public Member Functions | |
CTHM1176InstrumentController (void) | |
Constructor. | |
~CTHM1176InstrumentController (void) override | |
Destructor. | |
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.
|
inline |
Constructor.
Definition at line 358 of file CTHM1176InstrumentManager.h.
|
inlineoverride |
Destructor.
Definition at line 380 of file CTHM1176InstrumentManager.h.
|
slot |
Send a bus trigger.
Definition at line 636 of file CTHM1176InstrumentManager.cpp.
|
slot |
Set the averaging parameters.
[in] | AveragingParms | Averaging parameters. |
Definition at line 847 of file CTHM1176InstrumentManager.cpp.
|
slot |
Set whether or not to override the check for instruments whose zero offset should not be calibrated.
[in] | Override | Override the check if true. |
Definition at line 1026 of file CTHM1176InstrumentManager.cpp.
|
slot |
Set communication format.
[in] | CommFormat | Communication format parameters. |
Definition at line 1007 of file CTHM1176InstrumentManager.cpp.
|
slot |
Select the instrument to connect to.
[in] | CurrentInstrument | Instrument's VISA resource name. |
Definition at line 311 of file CTHM1176InstrumentManager.cpp.
|
slot |
Set operating mode.
[in] | OperatingMode | New operating mode. |
Definition at line 410 of file CTHM1176InstrumentManager.cpp.
|
slot |
Select what data is returned.
[in] | OutputSelect | Output selection parameters. |
Definition at line 915 of file CTHM1176InstrumentManager.cpp.
Set range parameters.
[in] | RangeParms | Range parameters. |
Definition at line 988 of file CTHM1176InstrumentManager.cpp.
|
slot |
Set whether or not the instrument sleeps after each measurement.
[in] | SleepParm | Sleep parameter. |
Definition at line 928 of file CTHM1176InstrumentManager.cpp.
|
slot |
Set the trigger parameters.
[in] | TriggerParms | Trigger parameters. |
Definition at line 881 of file CTHM1176InstrumentManager.cpp.
|
slot |
Select the measurement units.
[in] | Units | Measurement units. |
Definition at line 947 of file CTHM1176InstrumentManager.cpp.
|
slot |
Initialize the Instrument Controller.
[in] | pResourceManager | Pointer to VISA Resource Manager. |
Definition at line 113 of file CTHM1176InstrumentManager.cpp.
|
slot |
Shut down the Instrument Controller.
Definition at line 119 of file CTHM1176InstrumentManager.cpp.
|
signal |
Signal to report bounds of averaging parameters for newly connected instrument.
[in] | AveragingParmBounds | Bounds for averaging parameters. |
|
signal |
Signal a change of the averaging parameters.
[in] | AveragingParms | New averaging parameters. |
|
signal |
Signal a change of the communication format.
[in] | CommFormat | New communication format. |
|
signal |
Signal that current instrument selection has changed.
[in] | CurrentInstrument | VISA resource name of newly selected instrument. |
|
signal |
Signal to report divisors associated with valid measurement units for newly connected instrument.
[in] | DivisorList | List of divisors. |
|
signal |
Signal that new errors have been reported.
[in] | LatestErrors | List of latest errors. |
|
signal |
Signal to report identifier information for newly connected instrument.
[in] | Identification | Instrument identifier information. |
|
slot |
Update the Instrument Controller's copy of the list of detected instruments.
[in] | InstrumentList | Updated list of detected instruments. |
Definition at line 278 of file CTHM1176InstrumentManager.cpp.
|
signal |
Signal to broadcast updated pointer to THM1176 Instrument object.
[in] | pTHM1176 | Updated pointer to THM1176 Instrument object. |
|
signal |
Signal that a new measurement is available.
[in] | Measurement | New measurement. |
|
signal |
Signal that the operating mode has changed.
[in] | OperatingMode | New operating mode. |
|
signal |
Signal a change of the output selection parameters.
[in] | OutputSelect | New output selection parameters. |
|
signal |
Signal to report list of valid ranges for newly connected instrument.
[in] | RangeList | List of valid ranges. |
|
signal |
Signal to report bounds of range parameters for newly connected instrument.
[in] | RangeParmBounds | Bounds for range parameters. |
Signal a change of the range parameters.
[in] | RangeParms | New range parameters. |
|
signal |
Signal a change of the sleep parameter.
[in] | SleepParm | New sleep parameter. |
|
signal |
Signal to report bounds of trigger parameters for newly connected instrument.
[in] | TriggerParmBounds | Bounds for trigger parameters. |
|
signal |
Signal a change of the trigger parameters.
[in] | TriggerParms | New trigger parameters. |
|
signal |
Signal a change of the measurement units.
[in] | Units | New measurement units. |
|
signal |
Signal to report list of valid measurement units for newly connected instrument.
[in] | UnitsList | List of measurement units valid for this instrument model. |