| THM1176InstrumentDriver 1.2 C++ API for Metrolab THM1176

Loading...
Searching...
No Matches
VISAInstrumentTypes.h File Reference

C++ wrapper for NI-VISA: type definitions. More...

`#include "../resources/visa.h"`
`#include <string>`
`#include <vector>`
`#include <iostream>`
Include dependency graph for VISAInstrumentTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | MTL::Instrument::sSerialPortSettings
| Serial port settings. More...
class | MTL::Instrument::VISAResourceInfo
| Information about a VISA resource. More...
struct | MTL::Instrument::sParsedResource
| Parsed information about a VISA resource. More...
class | MTL::Instrument::CParsedResourceList
| Parsed resource information for a list of instruments. More...

## Namespaces
namespace | MTL
namespace | MTL::Instrument

## Typedefs
typedef ViUInt16 | MTL::Instrument::tInterfaceNumber
| Interface number.

## Enumerations
enum class | MTL::Instrument::eInterfaceType { MTL::Instrument::GPIB = VI_INTF_GPIB , MTL::Instrument::VXI = VI_INTF_VXI , MTL::Instrument::GPIB_VXI = VI_INTF_GPIB_VXI , MTL::Instrument::ASRL = VI_INTF_ASRL , MTL::Instrument::PXI = VI_INTF_PXI , MTL::Instrument::TCPIP = VI_INTF_TCPIP , MTL::Instrument::USB = VI_INTF_USB }
| VISA interface types. More...
enum class | MTL::Instrument::eResourceClass { MTL::Instrument::INSTR = 0 , MTL::Instrument::MEMACC , MTL::Instrument::INTFC , MTL::Instrument::BACKPLANE , MTL::Instrument::SERVANT , MTL::Instrument::SOCKET , MTL::Instrument::RAW }
| Classes of VISA resource. More...
enum class | MTL::Instrument::eOpenAccessMode { MTL::Instrument::NoLock = VI_NO_LOCK , MTL::Instrument::ExclusiveLock = VI_EXCLUSIVE_LOCK , MTL::Instrument::LoadConfig = VI_LOAD_CONFIG }
| Access modes for VISA resources. More...
enum class | MTL::Instrument::eEventMechanism { MTL::Instrument::Queue = VI_QUEUE , MTL::Instrument::Handle = VI_HNDLR , MTL::Instrument::Suspendedhandler = VI_SUSPEND_HNDLR , MTL::Instrument::All = VI_ALL_MECH }
| Event mechanisms. More...
enum class | MTL::Instrument::eEventType : unsigned long { MTL::Instrument::ServiceRequest = VI_EVENT_SERVICE_REQ , MTL::Instrument::Trig = VI_EVENT_TRIG , MTL::Instrument::Clear = VI_EVENT_CLEAR , MTL::Instrument::IOCompletion = VI_EVENT_IO_COMPLETION , MTL::Instrument::Exception = VI_EVENT_EXCEPTION , MTL::Instrument::GPIB_CIC = VI_EVENT_GPIB_CIC , MTL::Instrument::GPIB_TALK = VI_EVENT_GPIB_TALK , MTL::Instrument::GPIB_LISTEN = VI_EVENT_GPIB_LISTEN , MTL::Instrument::VXI_VME_SYSFAIL = VI_EVENT_VXI_VME_SYSFAIL , MTL::Instrument::VXI_VME_SYSRESET = VI_EVENT_VXI_VME_SYSRESET , MTL::Instrument::VXI_SIGP = VI_EVENT_VXI_SIGP , MTL::Instrument::VXI_VME_INTR = VI_EVENT_VXI_VME_INTR , MTL::Instrument::PXI_INTR = VI_EVENT_PXI_INTR , MTL::Instrument::TCPIP_CONNECT = VI_EVENT_TCPIP_CONNECT , MTL::Instrument::USB_INTR = VI_EVENT_USB_INTR , MTL::Instrument::ALL = VI_ALL_ENABLED_EVENTS }
| Event types. More...
enum class | MTL::Instrument::eTriggerProtocol { MTL::Instrument::Default = VI_TRIG_PROT_DEFAULT , MTL::Instrument::VXI_Default = VI_TRIG_PROT_DEFAULT , MTL::Instrument::VXI_On = VI_TRIG_PROT_ON , MTL::Instrument::VXI_Off = VI_TRIG_PROT_OFF , MTL::Instrument::VXI_Sync = VI_TRIG_PROT_SYNC , MTL::Instrument::PXI_Reserve = VI_TRIG_PROT_RESERVE , MTL::Instrument::PXI_Unreserve = VI_TRIG_PROT_UNRESERVE }
| Trigger protocols. More...
enum class | MTL::Instrument::eSerialBaudrate { MTL::Instrument::k110 = 110 , MTL::Instrument::k300 = 300 , MTL::Instrument::k600 = 600 , MTL::Instrument::k1200 = 1200 , MTL::Instrument::k2400 = 2400 , MTL::Instrument::k4800 = 4800 , MTL::Instrument::k9600 = 9600 , MTL::Instrument::k14400 = 14400 , MTL::Instrument::k19200 = 19200 , MTL::Instrument::k28800 = 28800 , MTL::Instrument::k38400 = 38400 , MTL::Instrument::k57600 = 57600 , MTL::Instrument::k115200 = 115200 , MTL::Instrument::k230400 = 230400 , MTL::Instrument::k460800 = 460800 , MTL::Instrument::k921600 = 921600 }
| Serial baudrate. More...
enum class | MTL::Instrument::eSerialDataBits { MTL::Instrument::k7 = 7 , MTL::Instrument::k8 = 8 }
| Number of data bits for the serial communication. More...
enum class | MTL::Instrument::eSerialParity { MTL::Instrument::kNone = VI_ASRL_PAR_NONE , MTL::Instrument::kOdd = VI_ASRL_PAR_ODD , MTL::Instrument::kEven = VI_ASRL_PAR_EVEN , MTL::Instrument::kMark = VI_ASRL_PAR_MARK , MTL::Instrument::kSpace = VI_ASRL_PAR_SPACE }
| Parity configuration for the serial communication. More...
enum class | MTL::Instrument::eSerialStopBits { MTL::Instrument::k1 = VI_ASRL_STOP_ONE , MTL::Instrument::k1_5 = VI_ASRL_STOP_ONE5 , MTL::Instrument::k2 = VI_ASRL_STOP_TWO }
| Stop bit configuration for the serial communication. More...
enum class | MTL::Instrument::eSerialHandshake { MTL::Instrument::kNone = VI_ASRL_FLOW_NONE , MTL::Instrument::kXonXoff = VI_ASRL_FLOW_XON_XOFF , MTL::Instrument::kHardware = VI_ASRL_FLOW_RTS_CTS , MTL::Instrument::kHardAndSoft = (VI_ASRL_FLOW_XON_XOFF | VI_ASRL_FLOW_RTS_CTS) }
| Handshake configuration for the serial communication. More...
enum class | MTL::Instrument::eSerialTermMode { MTL::Instrument::kEndNone = VI_ASRL_END_NONE , MTL::Instrument::kEndLast = VI_ASRL_END_LAST_BIT , MTL::Instrument::kEndTermChar = VI_ASRL_END_TERMCHAR , MTL::Instrument::kEndBreak = VI_ASRL_END_BREAK }
| Serial termination mode. More...

## Detailed Description

C++ wrapper for NI-VISA: type definitions.

Definition in file VISAInstrumentTypes.h.