C++ Instrument Catalog
Classes | Namespaces | Typedefs | Enumerations
VISAInstrumentTypes.h File Reference

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

#include "visa.h"
#include <string>
#include <vector>
#include <iostream>

Go to the source code of this file.

Classes

class  MTL::Instrument::CResourceList
 
struct  MTL::Instrument::sSerialPortSettings
 
class  MTL::Instrument::VISAResourceInfo
 
struct  MTL::Instrument::sParsedResource
 
class  MTL::Instrument::CParsedResourceList
 

Namespaces

 MTL
 
 MTL::Instrument
 

Typedefs

typedef std::string MTL::Instrument::tResourceName
 
typedef ViUInt16 MTL::Instrument::tInterfaceNumber
 

Enumerations

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

Detailed Description

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

Definition in file VISAInstrumentTypes.h.