35#ifndef RFGeneratorDialog_h
36#define RFGeneratorDialog_h
49 float m_committedLevel;
52 float m_committedOffset;
54 std::string m_frequency;
55 double m_committedFrequency;
57 std::string m_sweepStart;
58 float m_committedSweepStart;
60 std::string m_sweepStop;
61 float m_committedSweepStop;
63 std::string m_sweepStartLevel;
64 float m_committedSweepStartLevel;
66 std::string m_sweepStopLevel;
67 float m_committedSweepStopLevel;
69 std::string m_sweepDwellTime;
70 float m_committedSweepDwellTime;
73 int m_committedSweepPoints;
76 std::vector<RFSignalGenerator::SweepShape> m_sweepShapes;
77 std::vector<std::string> m_sweepShapeNames;
80 std::vector<RFSignalGenerator::SweepSpacing> m_sweepSpaceTypes;
81 std::vector<std::string> m_sweepSpaceNames;
84 std::vector<RFSignalGenerator::SweepType> m_sweepTypes;
85 std::vector<std::string> m_sweepTypeNames;
88 std::vector<RFSignalGenerator::SweepDirection> m_sweepDirections;
89 std::vector<std::string> m_sweepDirectionNames;
91 bool m_analogModEnabled;
96 std::vector<FunctionGenerator::WaveShape> m_fmWaveShapes;
97 std::vector<std::string> m_fmWaveShapeNames;
99 std::string m_fmDeviation;
100 float m_committedFmDeviation;
102 std::string m_fmFrequency;
103 float m_committedFmFrequency;
116 virtual bool DoRender();
118 void RefreshFromHardware();
120 std::shared_ptr<SCPIRFSignalGenerator> GetGenerator()
Declaration of RollingBuffer.
Generic dialog box or other popup window.
Definition: Dialog.h:44
Definition: RFGeneratorDialog.h:43
Definition: RFGeneratorDialog.h:111
std::vector< RFGeneratorChannelUIState > m_uiState
UI state for each channel.
Definition: RFGeneratorDialog.h:134
std::shared_ptr< SCPIRFSignalGenerator > m_generator
The generator we're controlling.
Definition: RFGeneratorDialog.h:131
Session * m_session
Session handle so we can remove the PSU when closed.
Definition: RFGeneratorDialog.h:128
void DoChannel(size_t i)
Run the UI for a single channel.
Definition: RFGeneratorDialog.cpp:219
A Session stores all of the instrument configuration and other state the user has open.
Definition: Session.h:95