|
rohdeschwarz
0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
|
Object-oriented trace control. More...
#include <trace.hpp>
Public Member Functions | |
| Trace (Vna *vna, const char *name) | |
| Constructor. More... | |
| Trace (Vna *vna, const std::string &name) | |
| Constructor. More... | |
| std::string | name () const |
| Trace name. More... | |
| void | select () |
| Make trace the active trace. More... | |
| std::string | parameter () |
| Gets the measurement parameter for this trace. More... | |
| void | setParameter (const char *parameter) |
| Sets the measurement parameter for this trace. More... | |
| void | setParameter (const std::string ¶meter) |
| Sets the measurement parameter for this trace. More... | |
| std::string | format () |
| Queries the trace format. More... | |
| void | setFormat (const char *format) |
| Sets the trace format. More... | |
| void | setFormat (const std::string &format) |
| Sets the trace format. More... | |
| unsigned int | channel () |
| Queries the index of the measurement channel for this trace. More... | |
| unsigned int | diagram () |
| Queries the index of the diagram for this trace. More... | |
| void | setDiagram (unsigned int diagram) |
| Adds trace to diagram. More... | |
| std::vector< double > | y () |
| Returns formatted Y values from the last measurement of this trace. More... | |
| std::vector< std::complex< double > > | y_complex () |
| Returns unformatted Y values from the last measurement of this trace. More... | |
Object-oriented trace control.
Trace provides object-oriented control of an existing trace via VISA and SCPI commands
| Trace::Trace | ( | Vna * | vna, |
| const char * | name | ||
| ) |
| Trace::Trace | ( | Vna * | vna, |
| const std::string & | name | ||
| ) |
| unsigned int Trace::channel | ( | ) |
| unsigned int Trace::diagram | ( | ) |
| std::string Trace::format | ( | ) |
Queries the trace format.
See the table of formats from the ZNA manual for possible formats.
| std::string Trace::parameter | ( | ) |
Gets the measurement parameter for this trace.
parameter returns the measurement parameter for this trace (e.g. S21). See the table String Identifiers for Measurement Results for a complete list of possible parameters.
| void Trace::select | ( | ) |
| void Trace::setDiagram | ( | unsigned int | diagram | ) |
| void Trace::setFormat | ( | const char * | format | ) |
Sets the trace format.
See the table of formats from the ZNA manual for possible formats.
| [in] | format | Trace format as a C style string |
| void Trace::setFormat | ( | const std::string & | format | ) |
Sets the trace format.
See the table of formats from the ZNA manual for possible formats.
| [in] | format | Trace format as a C++ style string |
| void Trace::setParameter | ( | const char * | parameter | ) |
Sets the measurement parameter for this trace.
See the table String Identifiers for Measurement Results for a complete list of possible parameters.
| [in] | parameter | Measurement parameter as a C style string |
| void Trace::setParameter | ( | const std::string & | parameter | ) |
Sets the measurement parameter for this trace.
See the table String Identifiers for Measurement Results for a complete list of possible parameters.
| [in] | parameter | Measurement parameter as a C++ style string |
| std::vector< double > Trace::y | ( | ) |
| std::vector< std::complex< double > > Trace::y_complex | ( | ) |