rohdeschwarz  0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
Public Member Functions | List of all members
rohdeschwarz::instruments::vna::Channel Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Channel()

Channel::Channel ( Vna vna,
unsigned int  index 
)

Constructor.

Parameters
[in]vnapointer to underlying Vna instance
[in]indexchannel index

Definition at line 16 of file channel.cpp.

Member Function Documentation

◆ frequencies_Hz()

std::vector< double > Channel::frequencies_Hz ( )

queries the measurement frequencies, in Hz

Definition at line 67 of file channel.cpp.

◆ index()

unsigned int Channel::index ( ) const

channel index

Definition at line 24 of file channel.cpp.

◆ points()

unsigned int Channel::points ( )

queries the number of measurement points

Definition at line 30 of file channel.cpp.

◆ setPoints()

void Channel::setPoints ( unsigned int  points)

sets number of measurement points

Parameters
[in]pointsnumber of measurement points

Definition at line 37 of file channel.cpp.

◆ setStartFrequency()

void Channel::setStartFrequency ( double  frequency_Hz)

sets the start frequency of the measurement

Parameters
[in]frequency_Hzthe start frequency of the measurement, in Hz

Definition at line 49 of file channel.cpp.

◆ setStopFrequency()

void Channel::setStopFrequency ( double  frequency_Hz)

sets the stop frequency of the measurement

Parameters
[in]frequency_Hzthe stop frequency of the measurement, in Hz

Definition at line 61 of file channel.cpp.

◆ startFrequency_Hz()

double Channel::startFrequency_Hz ( )

queries the start frequency of measurement, in Hz

Definition at line 43 of file channel.cpp.

◆ stopFrequency_Hz()

double Channel::stopFrequency_Hz ( )

queries the stop frequency of the measurement, in Hz

Definition at line 55 of file channel.cpp.


The documentation for this class was generated from the following files: