rohdeschwarz  0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
Classes | Typedefs
rohdeschwarz::busses::visa Namespace Reference

Classes

class  CVisa
 Runtime interface for the installed VISA C shared library. More...
 
class  Visa
 

Typedefs

typedef ViStatus(_VI_FUNC * VI_OPEN_DEFAULT_RM_PTR) (ViPSession vi)
 Function pointer type for viOpenDefaultRM More...
 
typedef ViStatus(_VI_FUNC * VI_FIND_RSRC_PTR) (ViSession sesn, ViString expr, ViPFindList vi, ViPUInt32 retCnt, ViChar _VI_FAR desc[])
 Function pointer type for viFindRsrc More...
 
typedef ViStatus(_VI_FUNC * VI_FIND_NEXT_PTR) (ViFindList vi, ViChar _VI_FAR desc[])
 Function pointer type for viFindNext More...
 
typedef ViStatus(_VI_FUNC * VI_PARSE_RSRC_EX_PTR) (ViSession rmSesn, ViRsrc rsrcName, ViPUInt16 intfType, ViPUInt16 intfNum, ViChar _VI_FAR rsrcClass[], ViChar _VI_FAR expandedUnaliasedName[], ViChar _VI_FAR aliasIfExists[])
 Function pointer type for viParseRsrcEx More...
 
typedef ViStatus(_VI_FUNC * VI_OPEN_PTR) (ViSession sesn, ViRsrc name, ViAccessMode mode, ViUInt32 timeout, ViPSession vi)
 Function pointer type for viOpen More...
 
typedef ViStatus(_VI_FUNC * VI_CLOSE_PTR) (ViObject vi)
 Function pointer type for viClose More...
 
typedef ViStatus(_VI_FUNC * VI_WRITE_PTR) (ViSession vi, ViBuf buf, ViUInt32 cnt, ViPUInt32 retCnt)
 Function pointer type for viWrite More...
 
typedef ViStatus(_VI_FUNC * VI_READ_PTR) (ViSession vi, ViPBuf buf, ViUInt32 cnt, ViPUInt32 retCnt)
 Function pointer type for viRead More...
 
typedef ViStatus(_VI_FUNC * VI_ENABLE_EVENT_PTR) (ViSession vi, ViEventType eventType, ViUInt16 mechanism, ViEventFilter context)
 Function pointer type for viEnableEvent More...
 
typedef ViStatus(_VI_FUNC * VI_DISABLE_EVENT_PTR) (ViSession vi, ViEventType eventType, ViUInt16 mechanism)
 Function pointer type for viDisableEvent More...
 
typedef ViStatus(_VI_FUNC * VI_WAITON_EVENT_PTR) (ViSession vi, ViEventType inEventType, ViUInt32 timeout, ViPEventType outEventType, ViPEvent outContext)
 Function pointer type for viWaitOnEvent More...
 
typedef ViStatus(_VI_FUNC * VI_DISCARD_EVENTS_PTR) (ViSession vi, ViEventType eventType, ViUInt16 mechanism)
 Function pointer type for viDiscardEvents More...
 
typedef ViStatus(_VI_FUNC * VI_READ_STB_PTR) (ViSession vi, ViPUInt16 status)
 Function pointer type for viReadSTB More...
 
typedef ViStatus(_VI_FUNC * VI_GPIB_SEND_IFC_PTR) (ViSession vi)
 Function pointer type for viGpibSendIFC More...
 
typedef ViStatus(_VI_FUNC * VI_SET_ATTRIBUTE_PTR) (ViObject vi, ViAttr attrName, ViAttrState attrValue)
 Function pointer type for viSetAttribute More...
 
typedef ViStatus(_VI_FUNC * VI_GET_ATTRIBUTE_PTR) (ViObject vi, ViAttr attrName, void _VI_PTR attrValue)
 Function pointer type for viGetAttribute More...
 
typedef ViStatus(_VI_FUNC * VI_STATUS_DESC_PTR) (ViObject vi, ViStatus status, ViChar _VI_FAR desc[])
 Function pointer type for viStatusDesc More...
 
using system_error = std::system_error
 System error exception. More...
 

Typedef Documentation

◆ system_error

using rohdeschwarz::busses::visa::system_error = typedef std::system_error

System error exception.

This is a reference to std::system_error provided for convenience

Definition at line 28 of file visa.hpp.

◆ VI_CLOSE_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_CLOSE_PTR) (ViObject vi)

Function pointer type for viClose

Definition at line 54 of file cvisatypes.hpp.

◆ VI_DISABLE_EVENT_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_DISABLE_EVENT_PTR) (ViSession vi, ViEventType eventType, ViUInt16 mechanism)

Function pointer type for viDisableEvent

Definition at line 78 of file cvisatypes.hpp.

◆ VI_DISCARD_EVENTS_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_DISCARD_EVENTS_PTR) (ViSession vi, ViEventType eventType, ViUInt16 mechanism)

Function pointer type for viDiscardEvents

Definition at line 90 of file cvisatypes.hpp.

◆ VI_ENABLE_EVENT_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_ENABLE_EVENT_PTR) (ViSession vi, ViEventType eventType, ViUInt16 mechanism, ViEventFilter context)

Function pointer type for viEnableEvent

Definition at line 72 of file cvisatypes.hpp.

◆ VI_FIND_NEXT_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_FIND_NEXT_PTR) (ViFindList vi, ViChar _VI_FAR desc[])

Function pointer type for viFindNext

Definition at line 36 of file cvisatypes.hpp.

◆ VI_FIND_RSRC_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_FIND_RSRC_PTR) (ViSession sesn, ViString expr, ViPFindList vi, ViPUInt32 retCnt, ViChar _VI_FAR desc[])

Function pointer type for viFindRsrc

Definition at line 30 of file cvisatypes.hpp.

◆ VI_GET_ATTRIBUTE_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_GET_ATTRIBUTE_PTR) (ViObject vi, ViAttr attrName, void _VI_PTR attrValue)

Function pointer type for viGetAttribute

Definition at line 114 of file cvisatypes.hpp.

◆ VI_GPIB_SEND_IFC_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_GPIB_SEND_IFC_PTR) (ViSession vi)

Function pointer type for viGpibSendIFC

Definition at line 102 of file cvisatypes.hpp.

◆ VI_OPEN_DEFAULT_RM_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_OPEN_DEFAULT_RM_PTR) (ViPSession vi)

Function pointer type for viOpenDefaultRM

Definition at line 24 of file cvisatypes.hpp.

◆ VI_OPEN_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_OPEN_PTR) (ViSession sesn, ViRsrc name, ViAccessMode mode, ViUInt32 timeout, ViPSession vi)

Function pointer type for viOpen

Definition at line 48 of file cvisatypes.hpp.

◆ VI_PARSE_RSRC_EX_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_PARSE_RSRC_EX_PTR) (ViSession rmSesn, ViRsrc rsrcName, ViPUInt16 intfType, ViPUInt16 intfNum, ViChar _VI_FAR rsrcClass[], ViChar _VI_FAR expandedUnaliasedName[], ViChar _VI_FAR aliasIfExists[])

Function pointer type for viParseRsrcEx

Definition at line 42 of file cvisatypes.hpp.

◆ VI_READ_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_READ_PTR) (ViSession vi, ViPBuf buf, ViUInt32 cnt, ViPUInt32 retCnt)

Function pointer type for viRead

Definition at line 66 of file cvisatypes.hpp.

◆ VI_READ_STB_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_READ_STB_PTR) (ViSession vi, ViPUInt16 status)

Function pointer type for viReadSTB

Definition at line 96 of file cvisatypes.hpp.

◆ VI_SET_ATTRIBUTE_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_SET_ATTRIBUTE_PTR) (ViObject vi, ViAttr attrName, ViAttrState attrValue)

Function pointer type for viSetAttribute

Definition at line 108 of file cvisatypes.hpp.

◆ VI_STATUS_DESC_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_STATUS_DESC_PTR) (ViObject vi, ViStatus status, ViChar _VI_FAR desc[])

Function pointer type for viStatusDesc

Definition at line 120 of file cvisatypes.hpp.

◆ VI_WAITON_EVENT_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_WAITON_EVENT_PTR) (ViSession vi, ViEventType inEventType, ViUInt32 timeout, ViPEventType outEventType, ViPEvent outContext)

Function pointer type for viWaitOnEvent

Definition at line 84 of file cvisatypes.hpp.

◆ VI_WRITE_PTR

typedef ViStatus(_VI_FUNC * rohdeschwarz::busses::visa::VI_WRITE_PTR) (ViSession vi, ViBuf buf, ViUInt32 cnt, ViPUInt32 retCnt)

Function pointer type for viWrite

Definition at line 60 of file cvisatypes.hpp.