35#ifndef MultimeterDialog_h
36#define MultimeterDialog_h
44 MultimeterDialog(std::shared_ptr<SCPIMultimeter> meter, std::shared_ptr<MultimeterState> state,
Session* session);
47 virtual bool DoRender();
49 std::shared_ptr<SCPIMultimeter> GetMeter()
53 void OnPrimaryModeChanged();
54 void RefreshSecondaryModeList();
Generic dialog box or other popup window.
Definition: Dialog.h:44
Definition: MultimeterDialog.h:42
Session * m_session
Session handle so we can remove the PSU when closed.
Definition: MultimeterDialog.h:57
std::shared_ptr< SCPIMultimeter > m_meter
The meter we're controlling.
Definition: MultimeterDialog.h:63
std::shared_ptr< MultimeterState > m_state
Current channel stats, live updated.
Definition: MultimeterDialog.h:66
int m_primaryModeSelector
Index of primary mode.
Definition: MultimeterDialog.h:81
bool m_autorange
Autorange enable flag.
Definition: MultimeterDialog.h:93
std::vector< Multimeter::MeasurementTypes > m_primaryModes
List of primary channel operating modes.
Definition: MultimeterDialog.h:78
std::vector< std::string > m_primaryModeNames
Names of primary channel operating modes.
Definition: MultimeterDialog.h:75
std::vector< Multimeter::MeasurementTypes > m_secondaryModes
List of secondary channel operating modes.
Definition: MultimeterDialog.h:87
double m_tstart
Timestamp of when we opened the dialog.
Definition: MultimeterDialog.h:60
int m_secondaryModeSelector
Index of secondary mode.
Definition: MultimeterDialog.h:90
std::vector< std::string > m_secondaryModeNames
Names of secondary channel operating modes.
Definition: MultimeterDialog.h:84
int m_selectedChannel
The currently selected input channel.
Definition: MultimeterDialog.h:72
std::vector< std::string > m_channelNames
Set of channel names.
Definition: MultimeterDialog.h:69
A Session stores all of the instrument configuration and other state the user has open.
Definition: Session.h:95