Class for controlling the RF test generator and selecting the input source (RF/ADC, test generator or step/impulse stimulus)
More...
#include <testgenerator.h>
|
void | get_signal_source (int source) |
| request a change of the input source More...
|
|
void | get_single (double frequency) |
| request a change of the testgenerator to single frequency mode More...
|
|
void | get_sweep (double start_f, double stop_f, double step_f) |
| request a change of the testgenerator to sweep mode More...
|
|
void | get_sweep_stopped (bool stopped) |
| requests halt or continue for the sweep frequency
|
|
|
DDS * | test_generator_ |
|
double | test_sweep_start_freq_ |
|
double | test_sweep_stop_freq_ |
|
double | test_sweep_step_freq_ |
|
double | test_sweep_frequency_ |
|
bool | sweep_active_ |
|
bool | sweep_stopped_ |
|
IP_Driver * | input_mux_ctrl_ |
|
Class for controlling the RF test generator and selecting the input source (RF/ADC, test generator or step/impulse stimulus)
void Testgenerator::get_signal_source |
( |
int |
source | ) |
|
|
slot |
request a change of the input source
- Parameters
-
source | 0: ADC/RF (normal), 1: sine(RF) test generator, 2: step/impulse stimulus |
void Testgenerator::get_single |
( |
double |
frequency | ) |
|
|
slot |
request a change of the testgenerator to single frequency mode
- Parameters
-
frequency | in kHz for single freuqency mode |
void Testgenerator::get_sweep |
( |
double |
start_f, |
|
|
double |
stop_f, |
|
|
double |
step_f |
|
) |
| |
|
slot |
request a change of the testgenerator to sweep mode
- Parameters
-
start_f | start frequency in kHz |
stop_f | stop frequency in kHz |
step_f | step frequency in kHz |
void Testgenerator::init_generator |
( |
int |
address, |
|
|
int |
memsize, |
|
|
double |
master_frequency, |
|
|
int |
phase_width |
|
) |
| |
initializes test generator IP core
- Parameters
-
address | IP core address (from Vivado) |
memsize | IP core memory size in k (from Vivado) |
master_frequency | DDS master frequency in kHz (from Vivado) |
phase_width | DDS phase width (from Vivado) |
void Testgenerator::init_input_mux |
( |
int |
address, |
|
|
int |
memsize, |
|
|
int |
init_value |
|
) |
| |
initialization function for the input mux GPIO
- Parameters
-
address | IP core address for RF signal scaler (from Vivado) |
memsize | IP core memory size in k (from Vivado) |
init_value | |
void Testgenerator::send_true_frequency |
( |
double |
true_frequency | ) |
|
|
signal |
send the current test frequency (after it has been newly set)
- Parameters
-
true_frequency | test frequency in kHz |
The documentation for this class was generated from the following files: