| THM1176InstrumentManager 1.2 Qt Object abstraction for Metrolab THM1176

Loading...
Searching...
No Matches
VISAInstrumentTypes.h
Go to the documentation of this file.
1// Copyright (c) 2020 Metrolab Technology S.A., Geneva, Switzerland (www.metrolab.com)
2// See the included file LICENSE.txt for the licensing conditions.
3
7
8#pragma once
9
10// External tools
11#include "../resources/visa.h"
12
13// Standard libraries
14#include <string>
15#include <vector>
16#include <iostream>
17
18 namespace MTL {
19 namespace Instrument
20 {
21 //----------------------------------------------------------------------//
22 // Types //
23 //----------------------------------------------------------------------//
25 enum class eInterfaceType {
26 GPIB = VI_INTF_GPIB,
27 VXI = VI_INTF_VXI,
28 GPIB_VXI = VI_INTF_GPIB_VXI,
29 ASRL = VI_INTF_ASRL,
30 PXI = VI_INTF_PXI,
31 TCPIP = VI_INTF_TCPIP,
32 USB = VI_INTF_USB
33 };
34
35 typedef ViUInt16 tInterfaceNumber;
36
38 enum class eResourceClass {
39 INSTR = 0,
40 MEMACC,
41 INTFC,
42 BACKPLANE,
43 SERVANT,
44 SOCKET,
45 RAW
46 };
47
49 enum class eOpenAccessMode {
50 NoLock = VI_NO_LOCK,
51 ExclusiveLock = VI_EXCLUSIVE_LOCK,
52 LoadConfig = VI_LOAD_CONFIG
53 };
54
56 enum class eEventMechanism {
57 Queue = VI_QUEUE,
58 Handle = VI_HNDLR,
59 Suspendedhandler = VI_SUSPEND_HNDLR,
60 All = VI_ALL_MECH
61 };
62
64 enum class eEventType : unsigned long {
65 ServiceRequest = VI_EVENT_SERVICE_REQ,
66 Trig = VI_EVENT_TRIG,
67 Clear = VI_EVENT_CLEAR,
68 IOCompletion = VI_EVENT_IO_COMPLETION,
69 Exception = VI_EVENT_EXCEPTION,
70 GPIB_CIC = VI_EVENT_GPIB_CIC,
71 GPIB_TALK = VI_EVENT_GPIB_TALK,
72 GPIB_LISTEN = VI_EVENT_GPIB_LISTEN,
73 VXI_VME_SYSFAIL = VI_EVENT_VXI_VME_SYSFAIL,
74 VXI_VME_SYSRESET = VI_EVENT_VXI_VME_SYSRESET,
75 VXI_SIGP = VI_EVENT_VXI_SIGP,
76 VXI_VME_INTR = VI_EVENT_VXI_VME_INTR,
77 PXI_INTR = VI_EVENT_PXI_INTR,
78 TCPIP_CONNECT = VI_EVENT_TCPIP_CONNECT,
79 USB_INTR = VI_EVENT_USB_INTR,
80 ALL = VI_ALL_ENABLED_EVENTS
81 };
82
103 enum class eTriggerProtocol {
104 Default = VI_TRIG_PROT_DEFAULT,
105 VXI_Default = VI_TRIG_PROT_DEFAULT,
106 VXI_On = VI_TRIG_PROT_ON,
107 VXI_Off = VI_TRIG_PROT_OFF,
108 VXI_Sync = VI_TRIG_PROT_SYNC,
109 PXI_Reserve = VI_TRIG_PROT_RESERVE,
110 PXI_Unreserve = VI_TRIG_PROT_UNRESERVE
111 };
112
114 enum class eSerialBaudrate {
115 k110 = 110,
116 k300 = 300,
117 k600 = 600,
118 k1200 = 1200,
119 k2400 = 2400,
120 k4800 = 4800,
121 k9600 = 9600,
122 k14400 = 14400,
123 k19200 = 19200,
124 k28800 = 28800,
125 k38400 = 38400,
126 k57600 = 57600,
127 k115200 = 115200,
128 k230400 = 230400,
129 k460800 = 460800,
130 k921600 = 921600
131 };
132
133 enum class eSerialDataBits {
134 k7 = 7,
135 k8 = 8
136 };
137
138 enum class eSerialParity {
139 kNone = VI_ASRL_PAR_NONE,
140 kOdd = VI_ASRL_PAR_ODD,
141 kEven = VI_ASRL_PAR_EVEN,
142 kMark = VI_ASRL_PAR_MARK,
143 kSpace = VI_ASRL_PAR_SPACE
144
145 };
146
147 enum class eSerialStopBits {
148 k1 = VI_ASRL_STOP_ONE,
149 k1_5 = VI_ASRL_STOP_ONE5,
150 k2 = VI_ASRL_STOP_TWO
151 };
152
153 enum class eSerialHandshake {
154 kNone = VI_ASRL_FLOW_NONE,
155 kXonXoff = VI_ASRL_FLOW_XON_XOFF,
156 kHardware = VI_ASRL_FLOW_RTS_CTS,
157 kHardAndSoft = (VI_ASRL_FLOW_XON_XOFF | VI_ASRL_FLOW_RTS_CTS)
158 };
159
160 enum class eSerialTermMode {
161 kEndNone = VI_ASRL_END_NONE,
162 kEndLast = VI_ASRL_END_LAST_BIT,
163 kEndTermChar = VI_ASRL_END_TERMCHAR,
164 kEndBreak = VI_ASRL_END_BREAK
165 };
166
167 struct sSerialPortSettings {
168 std::string COMPort;
169 eSerialBaudrate Baudrate;
170 eSerialDataBits DataBits;
171 eSerialParity Parity;
172 eSerialStopBits StopBits;
173 eSerialHandshake Handshake;
174 eSerialTermMode ReadTermMode;
175 char ReadTermChar;
176 sSerialPortSettings()
177 : COMPort(""),
178 Baudrate(eSerialBaudrate::k9600),
179 DataBits(eSerialDataBits::k8),
180 Parity(eSerialParity::kNone),
181 StopBits(eSerialStopBits::k1),
182 Handshake(eSerialHandshake::kNone),
183 ReadTermMode(eSerialTermMode::kEndTermChar),
184 ReadTermChar('\n')
185 {}
186 };
187
188 // For future use
190 class VISAResourceInfo
191 {
192 public:
193 typedef std::string tClass;
194 typedef std::string tExpandedName;
195 typedef std::string tAlias;
196
197 private:
198 eInterfaceType m_Type;
199 tInterfaceNumber m_Number;
200 tClass m_Class;
201 tExpandedName m_ExpName;
202 tAlias m_Alias;
203 public:
204 VISAResourceInfo(eInterfaceType Type = eInterfaceType::GPIB, tInterfaceNumber Number = 0, tClass Class = "", tExpandedName Expname = "", tAlias Alias = "")
205 : m_Type(Type), m_Number(Number), m_Class(Class), m_ExpName(Expname), m_Alias(Alias)
206 {}
207 const eInterfaceType & Type() const
208 {
209 return m_Type;
210 }
211 const tInterfaceNumber & Number() const
212 {
213 return m_Number;
214 }
215 const tClass & Class() const
216 {
217 return m_Class;
218 }
219 const tExpandedName & ExpName() const
220 {
221 return m_ExpName;
222 }
223 const tAlias & Alias() const
224 {
225 return m_Alias;
226 }
227 };
228
230 struct sParsedResource
231 {
232 tResourceName Name;
233 VISAResourceInfo Info;
234
235 sParsedResource(tResourceName & rName, VISAResourceInfo & rInfo)
236 : Name(rName), Info(rInfo)
237 {}
238
239 bool operator==(sParsedResource const & other) const
240 {
241 return (Name == other.Name);
242 }
243 bool operator!=(sParsedResource const & other) const
244
245 {
246 return !(*this == other);
247 }
248 };
249
251 class CParsedResourceList : public std::vector<sParsedResource>
252 {
253 public:
254 bool operator==(CParsedResourceList const & other)
255 {
256 if (other.size() != size())
257 return false;
258 for (CParsedResourceList::const_iterator thisit = begin(), otherit = other.begin(); thisit != end(); thisit++, otherit++)
259 {
260 if (*thisit != *otherit)
261 return false;
262 }
263 return true;
264 }
265 bool operator!=(CParsedResourceList const & other)
266 {
267 if (other.size() != size())
268 return true;
269 for (CParsedResourceList::const_iterator thisit = begin(), otherit = other.begin(); thisit != end(); thisit++, otherit++)
270 {
271 if (*thisit != *otherit)
272 return true;
273 }
274 return false;
275 }
276 };
277
278}} // namespace MTL::Instrument
MTL::Instrument::CParsedResourceList
Parsed resource information for a list of instruments.
Definition VISAInstrumentTypes.h:252
MTL::Instrument::CParsedResourceList::operator==
bool operator==(CParsedResourceList const &other)
Equality operator.
Definition VISAInstrumentTypes.h:254
MTL::Instrument::CParsedResourceList::operator!=
bool operator!=(CParsedResourceList const &other)
Inequality operator.
Definition VISAInstrumentTypes.h:265
MTL::Instrument::VISAResourceInfo
Information about a VISA resource.
Definition VISAInstrumentTypes.h:191
MTL::Instrument::VISAResourceInfo::Alias
const tAlias & Alias() const
Return alias.
Definition VISAInstrumentTypes.h:223
MTL::Instrument::VISAResourceInfo::tClass
std::string tClass
Class: INSTR / RAW / ...
Definition VISAInstrumentTypes.h:193
MTL::Instrument::VISAResourceInfo::Class
const tClass & Class() const
Return interface class.
Definition VISAInstrumentTypes.h:215
MTL::Instrument::VISAResourceInfo::VISAResourceInfo
VISAResourceInfo(eInterfaceType Type=eInterfaceType::GPIB, tInterfaceNumber Number=0, tClass Class="", tExpandedName Expname="", tAlias Alias="")
Constructor.
Definition VISAInstrumentTypes.h:204
MTL::Instrument::VISAResourceInfo::tAlias
std::string tAlias
Alias, if any.
Definition VISAInstrumentTypes.h:195
MTL::Instrument::VISAResourceInfo::Number
const tInterfaceNumber & Number() const
Return interface number.
Definition VISAInstrumentTypes.h:211
MTL::Instrument::VISAResourceInfo::tExpandedName
std::string tExpandedName
Full resource name.
Definition VISAInstrumentTypes.h:194
MTL::Instrument::VISAResourceInfo::Type
const eInterfaceType & Type() const
Return interface type.
Definition VISAInstrumentTypes.h:207
MTL::Instrument::VISAResourceInfo::ExpName
const tExpandedName & ExpName() const
Return full resource name.
Definition VISAInstrumentTypes.h:219
MTL::Instrument
Definition THM1176.h:74
MTL::Instrument::eSerialParity
eSerialParity
Parity configuration for the serial communication.
Definition VISAInstrumentTypes.h:138
MTL::Instrument::eSerialParity::kNone
@ kNone
Set Parity to None.
Definition VISAInstrumentTypes.h:139
MTL::Instrument::eSerialParity::kOdd
@ kOdd
Set Parity to Odd.
Definition VISAInstrumentTypes.h:140
MTL::Instrument::eSerialParity::kMark
@ kMark
Set Parity to Mark.
Definition VISAInstrumentTypes.h:142
MTL::Instrument::eSerialParity::kSpace
@ kSpace
Set Parity to Space.
Definition VISAInstrumentTypes.h:143
MTL::Instrument::eSerialParity::kEven
@ kEven
Set Parity to Even.
Definition VISAInstrumentTypes.h:141
MTL::Instrument::eSerialDataBits
eSerialDataBits
Number of data bits for the serial communication.
Definition VISAInstrumentTypes.h:133
MTL::Instrument::eSerialDataBits::k7
@ k7
7 data bits
Definition VISAInstrumentTypes.h:134
MTL::Instrument::eSerialDataBits::k8
@ k8
8 data bits
Definition VISAInstrumentTypes.h:135
MTL::Instrument::eSerialStopBits
eSerialStopBits
Stop bit configuration for the serial communication.
Definition VISAInstrumentTypes.h:147
MTL::Instrument::eSerialStopBits::k2
@ k2
Set Stop bit to 2.
Definition VISAInstrumentTypes.h:150
MTL::Instrument::eSerialStopBits::k1
@ k1
Set Stop bit to 1.
Definition VISAInstrumentTypes.h:148
MTL::Instrument::eSerialStopBits::k1_5
@ k1_5
Set Stop bit to 1.5.
Definition VISAInstrumentTypes.h:149
MTL::Instrument::tResourceName
std::string tResourceName
IEEE488 resource name.
Definition IEEE488InstrumentTypes.h:22
MTL::Instrument::eEventMechanism
eEventMechanism
Event mechanisms.
Definition VISAInstrumentTypes.h:56
MTL::Instrument::eEventMechanism::Queue
@ Queue
Enable the session to queue events.
Definition VISAInstrumentTypes.h:57
MTL::Instrument::eEventMechanism::All
@ All
Enable the session to all events.
Definition VISAInstrumentTypes.h:60
MTL::Instrument::eEventMechanism::Suspendedhandler
@ Suspendedhandler
Enable the session to execute the handler.
Definition VISAInstrumentTypes.h:59
MTL::Instrument::eEventMechanism::Handle
@ Handle
Enable the session to invoke a callback function.
Definition VISAInstrumentTypes.h:58
MTL::Instrument::eSerialHandshake
eSerialHandshake
Handshake configuration for the serial communication.
Definition VISAInstrumentTypes.h:153
MTL::Instrument::eSerialHandshake::kHardAndSoft
@ kHardAndSoft
Set Hardware & Software Handshake (Xon/Xoff & RTS/CTS).
Definition VISAInstrumentTypes.h:157
MTL::Instrument::eSerialHandshake::kXonXoff
@ kXonXoff
Set Software Handshake Xon/Xoff.
Definition VISAInstrumentTypes.h:155
MTL::Instrument::eSerialHandshake::kHardware
@ kHardware
Set Hardware Handshake RTS/CTS.
Definition VISAInstrumentTypes.h:156
MTL::Instrument::tInterfaceNumber
ViUInt16 tInterfaceNumber
Interface number.
Definition VISAInstrumentTypes.h:35
MTL::Instrument::eOpenAccessMode
eOpenAccessMode
Access modes for VISA resources.
Definition VISAInstrumentTypes.h:49
MTL::Instrument::eOpenAccessMode::LoadConfig
@ LoadConfig
Configure attributes to values specified by an external configuration utility.
Definition VISAInstrumentTypes.h:52
MTL::Instrument::eOpenAccessMode::ExclusiveLock
@ ExclusiveLock
Acquire an exclusive lock immediately upon opening a session. If a lock cannot be acquired,...
Definition VISAInstrumentTypes.h:51
MTL::Instrument::eOpenAccessMode::NoLock
@ NoLock
Open session without using an exclusive lock or loading configuration information.
Definition VISAInstrumentTypes.h:50
MTL::Instrument::eInterfaceType
eInterfaceType
VISA interface types.
Definition VISAInstrumentTypes.h:25
MTL::Instrument::eInterfaceType::VXI
@ VXI
VXI (IEEE 488.2 over Ethernet).
Definition VISAInstrumentTypes.h:27
MTL::Instrument::eInterfaceType::GPIB_VXI
@ GPIB_VXI
Ethernet GPIB adapter. (?).
Definition VISAInstrumentTypes.h:28
MTL::Instrument::eInterfaceType::GPIB
@ GPIB
GPIB (a.k.a. HPIB or IEEE 488.1).
Definition VISAInstrumentTypes.h:26
MTL::Instrument::eInterfaceType::TCPIP
@ TCPIP
TCP/IP.
Definition VISAInstrumentTypes.h:31
MTL::Instrument::eInterfaceType::ASRL
@ ASRL
Serial.
Definition VISAInstrumentTypes.h:29
MTL::Instrument::eInterfaceType::PXI
@ PXI
PXI (PCI eXtensions for Instrumentation).
Definition VISAInstrumentTypes.h:30
MTL::Instrument::eInterfaceType::USB
@ USB
USB.
Definition VISAInstrumentTypes.h:32
MTL::Instrument::eTriggerProtocol
eTriggerProtocol
Trigger protocols.
Definition VISAInstrumentTypes.h:103
MTL::Instrument::eTriggerProtocol::VXI_On
@ VXI_On
Asserts the trigger.
Definition VISAInstrumentTypes.h:106
MTL::Instrument::eTriggerProtocol::Default
@ Default
Default protocol.
Definition VISAInstrumentTypes.h:104
MTL::Instrument::eTriggerProtocol::PXI_Unreserve
@ PXI_Unreserve
Release a trigger line.
Definition VISAInstrumentTypes.h:110
MTL::Instrument::eTriggerProtocol::VXI_Off
@ VXI_Off
Deasserts the trigger.
Definition VISAInstrumentTypes.h:107
MTL::Instrument::eTriggerProtocol::PXI_Reserve
@ PXI_Reserve
Reserve a trigger line.
Definition VISAInstrumentTypes.h:109
MTL::Instrument::eTriggerProtocol::VXI_Default
@ VXI_Default
Default protocol for VXI.
Definition VISAInstrumentTypes.h:105
MTL::Instrument::eTriggerProtocol::VXI_Sync
@ VXI_Sync
Pulses the trigger (assert followed by deassert).
Definition VISAInstrumentTypes.h:108
MTL::Instrument::eSerialTermMode
eSerialTermMode
Serial termination mode.
Definition VISAInstrumentTypes.h:160
MTL::Instrument::eSerialTermMode::kEndTermChar
@ kEndTermChar
Set termination character to the one specified by VI_ATTR_TERMCHAR().
Definition VISAInstrumentTypes.h:163
MTL::Instrument::eSerialTermMode::kEndNone
@ kEndNone
Set termination character to None.
Definition VISAInstrumentTypes.h:161
MTL::Instrument::eSerialTermMode::kEndLast
@ kEndLast
Set termination character to Last bit.
Definition VISAInstrumentTypes.h:162
MTL::Instrument::eSerialTermMode::kEndBreak
@ kEndBreak
Set termination character to Break (Only available in Write termination).
Definition VISAInstrumentTypes.h:164
MTL::Instrument::eEventType
eEventType
Event types.
Definition VISAInstrumentTypes.h:64
MTL::Instrument::eEventType::ServiceRequest
@ ServiceRequest
Service request was received from device or interface.
Definition VISAInstrumentTypes.h:65
MTL::Instrument::eEventType::VXI_VME_SYSFAIL
@ VXI_VME_SYSFAIL
VXI/VME SYSFAIL* line was asserted.
Definition VISAInstrumentTypes.h:73
MTL::Instrument::eEventType::VXI_VME_INTR
@ VXI_VME_INTR
VXIbus interrupt was received from the device.
Definition VISAInstrumentTypes.h:76
MTL::Instrument::eEventType::GPIB_CIC
@ GPIB_CIC
GPIB controller has gained or lost CIC (controller-in-charge) status.
Definition VISAInstrumentTypes.h:70
MTL::Instrument::eEventType::ALL
@ ALL
All enabled events.
Definition VISAInstrumentTypes.h:80
MTL::Instrument::eEventType::GPIB_LISTEN
@ GPIB_LISTEN
GPIB controller has been addressed to listen.
Definition VISAInstrumentTypes.h:72
MTL::Instrument::eEventType::VXI_SIGP
@ VXI_SIGP
VXIbus signal or VXIbus interrupt was received from the device.
Definition VISAInstrumentTypes.h:75
MTL::Instrument::eEventType::Trig
@ Trig
Trigger interrupt was received from the device.
Definition VISAInstrumentTypes.h:66
MTL::Instrument::eEventType::Exception
@ Exception
Error condition has occured during an operation.
Definition VISAInstrumentTypes.h:69
MTL::Instrument::eEventType::VXI_VME_SYSRESET
@ VXI_VME_SYSRESET
VXI/VME SYSRESET* line was asserted.
Definition VISAInstrumentTypes.h:74
MTL::Instrument::eEventType::TCPIP_CONNECT
@ TCPIP_CONNECT
TCP/IP connection has been made.
Definition VISAInstrumentTypes.h:78
MTL::Instrument::eEventType::GPIB_TALK
@ GPIB_TALK
GPIB controller was addressed to talk.
Definition VISAInstrumentTypes.h:71
MTL::Instrument::eEventType::IOCompletion
@ IOCompletion
Asynchronous operation has completed.
Definition VISAInstrumentTypes.h:68
MTL::Instrument::eEventType::Clear
@ Clear
Device clear message was sent to the local controller.
Definition VISAInstrumentTypes.h:67
MTL::Instrument::eEventType::PXI_INTR
@ PXI_INTR
PXI interrupt occurred.
Definition VISAInstrumentTypes.h:77
MTL::Instrument::eEventType::USB_INTR
@ USB_INTR
USB interrupt has occurred.
Definition VISAInstrumentTypes.h:79
MTL::Instrument::eSerialBaudrate
eSerialBaudrate
Serial baudrate.
Definition VISAInstrumentTypes.h:114
MTL::Instrument::eSerialBaudrate::k115200
@ k115200
115200 baud
Definition VISAInstrumentTypes.h:127
MTL::Instrument::eSerialBaudrate::k19200
@ k19200
19200 baud
Definition VISAInstrumentTypes.h:123
MTL::Instrument::eSerialBaudrate::k9600
@ k9600
9600 baud
Definition VISAInstrumentTypes.h:121
MTL::Instrument::eSerialBaudrate::k230400
@ k230400
230400 baud
Definition VISAInstrumentTypes.h:128
MTL::Instrument::eSerialBaudrate::k1200
@ k1200
1200 baud
Definition VISAInstrumentTypes.h:118
MTL::Instrument::eSerialBaudrate::k28800
@ k28800
28800 baud
Definition VISAInstrumentTypes.h:124
MTL::Instrument::eSerialBaudrate::k300
@ k300
300 baud
Definition VISAInstrumentTypes.h:116
MTL::Instrument::eSerialBaudrate::k4800
@ k4800
4800 baud
Definition VISAInstrumentTypes.h:120
MTL::Instrument::eSerialBaudrate::k2400
@ k2400
2400 baud
Definition VISAInstrumentTypes.h:119
MTL::Instrument::eSerialBaudrate::k110
@ k110
110 baud
Definition VISAInstrumentTypes.h:115
MTL::Instrument::eSerialBaudrate::k600
@ k600
600 baud
Definition VISAInstrumentTypes.h:117
MTL::Instrument::eSerialBaudrate::k460800
@ k460800
460800 baud
Definition VISAInstrumentTypes.h:129
MTL::Instrument::eSerialBaudrate::k38400
@ k38400
38400 baud
Definition VISAInstrumentTypes.h:125
MTL::Instrument::eSerialBaudrate::k921600
@ k921600
921600 baud
Definition VISAInstrumentTypes.h:130
MTL::Instrument::eSerialBaudrate::k14400
@ k14400
14400 baud
Definition VISAInstrumentTypes.h:122
MTL::Instrument::eSerialBaudrate::k57600
@ k57600
57600 baud
Definition VISAInstrumentTypes.h:126
MTL::Instrument::eResourceClass
eResourceClass
Classes of VISA resource.
Definition VISAInstrumentTypes.h:38
MTL::Instrument::eResourceClass::BACKPLANE
@ BACKPLANE
VXIbus Mainframe Backplane.
Definition VISAInstrumentTypes.h:42
MTL::Instrument::eResourceClass::RAW
@ RAW
USB Raw.
Definition VISAInstrumentTypes.h:45
MTL::Instrument::eResourceClass::SOCKET
@ SOCKET
Ethernet Socket.
Definition VISAInstrumentTypes.h:44
MTL::Instrument::eResourceClass::INTFC
@ INTFC
GPIB Bus Interface.
Definition VISAInstrumentTypes.h:41
MTL::Instrument::eResourceClass::MEMACC
@ MEMACC
Memory access.
Definition VISAInstrumentTypes.h:40
MTL::Instrument::eResourceClass::INSTR
@ INSTR
Instrument.
Definition VISAInstrumentTypes.h:39
MTL::Instrument::eResourceClass::SERVANT
@ SERVANT
Device-side functionality.
Definition VISAInstrumentTypes.h:43
MTL
Definition CTHM1176InstrumentManager.h:179
MTL::Instrument::sParsedResource::Info
VISAResourceInfo Info
Parsed VISA resource information.
Definition VISAInstrumentTypes.h:233
MTL::Instrument::sParsedResource::operator==
bool operator==(sParsedResource const &other) const
Equality operator.
Definition VISAInstrumentTypes.h:239
MTL::Instrument::sParsedResource::Name
tResourceName Name
VISA resource name.
Definition VISAInstrumentTypes.h:232
MTL::Instrument::sParsedResource::sParsedResource
sParsedResource(tResourceName &rName, VISAResourceInfo &rInfo)
Constructor.
Definition VISAInstrumentTypes.h:235
MTL::Instrument::sParsedResource::operator!=
bool operator!=(sParsedResource const &other) const
Inequality operator.
Definition VISAInstrumentTypes.h:243
MTL::Instrument::sSerialPortSettings::sSerialPortSettings
sSerialPortSettings()
Constructor.
Definition VISAInstrumentTypes.h:176
MTL::Instrument::sSerialPortSettings::COMPort
std::string COMPort
[-] String identifying the serial port to connect to
Definition VISAInstrumentTypes.h:168
MTL::Instrument::sSerialPortSettings::DataBits
eSerialDataBits DataBits
[-] Number of transmitted bits per packet
Definition VISAInstrumentTypes.h:170
MTL::Instrument::sSerialPortSettings::Handshake
eSerialHandshake Handshake
[-] Handshake configuration of the serial communication
Definition VISAInstrumentTypes.h:173
MTL::Instrument::sSerialPortSettings::Baudrate
eSerialBaudrate Baudrate
[bd] Speed of the serial communication
Definition VISAInstrumentTypes.h:169
MTL::Instrument::sSerialPortSettings::StopBits
eSerialStopBits StopBits
[-] Stop bit configuration of the serial communication
Definition VISAInstrumentTypes.h:172
MTL::Instrument::sSerialPortSettings::Parity
eSerialParity Parity
[-] Parity configuration of the serial communication
Definition VISAInstrumentTypes.h:171
MTL::Instrument::sSerialPortSettings::ReadTermMode
eSerialTermMode ReadTermMode
[-] Termination Read mode of the serial communication
Definition VISAInstrumentTypes.h:174
MTL::Instrument::sSerialPortSettings::ReadTermChar
char ReadTermChar
[-] Specific termination character when readTermMode = kEndTermChar
Definition VISAInstrumentTypes.h:175