27 if (syn_instance == 0) syn_instance =
new Synthesizer();
34 bool isOn()
const {
return m_on; }
35 void connectToServer();
40 void setFrequency(
double GHz);
41 void setPowerLevel(
double dBm);
48 QString getResponse();
49 void sendCmd(
const QString &command);
50 void dumpBuffer(QByteArray ba)
const;
double powerLevel()
Read the current power level.
Definition: anritsu.cpp:56
A class to control the Anritsu synthesizer.
Definition: anritsu.h:18
static Synthesizer * instance()
Get a pointer to a class Synthesizer instance.
Definition: anritsu.h:25
double frequency()
Read the current frequency.
Definition: anritsu.cpp:51
void powerOn(bool flag)
Enable/disable signal power.
Definition: anritsu.cpp:83