rohdeschwarz  0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
vna.hpp
Go to the documentation of this file.
1 
7 #ifndef ROHDESCHWARZ_INSTRUMENTS_VNA_VNA_HPP
8 #define ROHDESCHWARZ_INSTRUMENTS_VNA_VNA_HPP
9 
10 
11 // rohdeschwarz
17 
18 
19 // std lib
20 #include <string>
21 #include <vector>
22 
23 
25 {
26 
34 {
35 
36 public:
37 
41  Display display();
42 
43 
48 
49 
50  // channels
51 
52 
58  bool isChannel(unsigned int index);
59 
60 
66  Channel createChannel(unsigned int index);
67 
68 
74  Channel channel(unsigned int index);
75 
76 
80  std::vector<unsigned int> channels();
81 
82 
83  // traces
84 
85 
91  bool isTrace(const char* name);
92 
93 
99  bool isTrace(const std::string &name);
100 
101 
108  Trace createTrace(const char* name, unsigned int channel = 1);
109 
110 
117  Trace createTrace(const std::string& name, unsigned int channel = 1);
118 
119 
125  Trace trace(const char* name);
126 
127 
133  Trace trace(const std::string &name);
134 
135 
139  std::vector<std::string> traces();
140 
141 
142 };
143 
144 
145 } // namespace rohdeschwarz::instruments::vna
146 #endif // ROHDESCHWARZ_INSTRUMENTS_VNA_VNA_HPP
rohdeschwarz::instruments::vna::Channel definition
Object-oriented R&S Instrument control.
Definition: instrument.hpp:53
Object-oriented measurement channel control.
Definition: channel.hpp:29
Object-oriented control of the data transfer format and byte order.
Definition: data_format.hpp:36
Object-oriented display control.
Definition: display.hpp:32
Object-oriented trace control.
Definition: trace.hpp:31
Object-oriented R&S ZNX-series VNA control.
Definition: vna.hpp:34
Trace trace(const char *name)
Object-oriented control of a trace.
Definition: vna.cpp:92
bool isChannel(unsigned int index)
Checks for existence of channel index
Definition: vna.cpp:32
Channel createChannel(unsigned int index)
Create new channel with specified index.
Definition: vna.cpp:40
std::vector< unsigned int > channels()
Query existing channels, by indexes.
Definition: vna.cpp:53
bool isTrace(const char *name)
Checks for existence of a trace by name.
Definition: vna.cpp:63
DataFormat dataFormat()
Object-oriented control of the data transfer format.
Definition: vna.cpp:26
std::vector< std::string > traces()
Query existing traces by name.
Definition: vna.cpp:105
Display display()
Object-oriented control of the display.
Definition: vna.cpp:20
Channel channel(unsigned int index)
Object-oriented control of a measurement channel.
Definition: vna.cpp:47
Trace createTrace(const char *name, unsigned int channel=1)
Creates a new trace.
Definition: vna.cpp:78
rohdeschwarz::instruments::vna::DataFormat definition
rohdeschwarz::instruments::vna::Display definition
rohdeschwarz::instruments::Instrument definition
rohdeschwarz::instruments::vna::Trace definition