|
rohdeschwarz
0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
|
Object-oriented measurement channel control. More...
#include <channel.hpp>
Public Member Functions | |
| Channel (Vna *vna, unsigned int index) | |
| Constructor. More... | |
| unsigned int | index () const |
| channel index More... | |
| unsigned int | points () |
| queries the number of measurement points More... | |
| void | setPoints (unsigned int points) |
| sets number of measurement points More... | |
| double | startFrequency_Hz () |
queries the start frequency of measurement, in Hz More... | |
| void | setStartFrequency (double frequency_Hz) |
| sets the start frequency of the measurement More... | |
| double | stopFrequency_Hz () |
queries the stop frequency of the measurement, in Hz More... | |
| void | setStopFrequency (double frequency_Hz) |
| sets the stop frequency of the measurement More... | |
| std::vector< double > | frequencies_Hz () |
queries the measurement frequencies, in Hz More... | |
Object-oriented measurement channel control.
Channel provides object-oriented control of an R&S ZNX-series VNA Channel via a VISA connection and SCPI commands.
Definition at line 28 of file channel.hpp.
| Channel::Channel | ( | Vna * | vna, |
| unsigned int | index | ||
| ) |
Constructor.
| [in] | vna | pointer to underlying Vna instance |
| [in] | index | channel index |
Definition at line 16 of file channel.cpp.
| std::vector< double > Channel::frequencies_Hz | ( | ) |
queries the measurement frequencies, in Hz
Definition at line 67 of file channel.cpp.
| unsigned int Channel::index | ( | ) | const |
channel index
Definition at line 24 of file channel.cpp.
| unsigned int Channel::points | ( | ) |
queries the number of measurement points
Definition at line 30 of file channel.cpp.
| void Channel::setPoints | ( | unsigned int | points | ) |
sets number of measurement points
| [in] | points | number of measurement points |
Definition at line 37 of file channel.cpp.
| void Channel::setStartFrequency | ( | double | frequency_Hz | ) |
sets the start frequency of the measurement
| [in] | frequency_Hz | the start frequency of the measurement, in Hz |
Definition at line 49 of file channel.cpp.
| void Channel::setStopFrequency | ( | double | frequency_Hz | ) |
sets the stop frequency of the measurement
| [in] | frequency_Hz | the stop frequency of the measurement, in Hz |
Definition at line 61 of file channel.cpp.
| double Channel::startFrequency_Hz | ( | ) |
queries the start frequency of measurement, in Hz
Definition at line 43 of file channel.cpp.
| double Channel::stopFrequency_Hz | ( | ) |
queries the stop frequency of the measurement, in Hz
Definition at line 55 of file channel.cpp.