1 #ifndef TESTGENERATOR_H 2 #define TESTGENERATOR_H 30 void init_generator(
int address,
int memsize,
double master_frequency,
int phase_width);
50 void get_sweep(
double start_f,
double stop_f,
double step_f);
61 double test_sweep_start_freq_;
62 double test_sweep_stop_freq_;
63 double test_sweep_step_freq_;
64 double test_sweep_frequency_;
68 IP_Driver *input_mux_ctrl_;
71 #endif // TESTGENERATOR_H Testgenerator(QObject *parent=0)
constructor
Definition: testgenerator.cpp:3
Class for controlling the RF test generator and selecting the input source (RF/ADC, test generator or step/impulse stimulus)
Definition: testgenerator.h:9
void get_sweep(double start_f, double stop_f, double step_f)
request a change of the testgenerator to sweep mode
Definition: testgenerator.cpp:51
~Testgenerator()
destructor
Definition: testgenerator.cpp:20
void send_true_frequency(double true_frequency)
send the current test frequency (after it has been newly set)
void init_input_mux(int address, int memsize, int init_value)
initialization function for the input mux GPIO
Definition: testgenerator.cpp:25
void get_signal_source(int source)
request a change of the input source
Definition: testgenerator.cpp:36
void sweep_timer_slot()
increments the sweep frequency (timer slot)
Definition: testgenerator.cpp:63
void init_generator(int address, int memsize, double master_frequency, int phase_width)
initializes test generator IP core
Definition: testgenerator.cpp:31
void get_single(double frequency)
request a change of the testgenerator to single frequency mode
Definition: testgenerator.cpp:44
void get_sweep_stopped(bool stopped)
requests halt or continue for the sweep frequency
Definition: testgenerator.cpp:59