Download VISA for the Component Object Model

Transcript
Section 8: The Complete VISA COM I/O IDL
#define VI_ERROR_NSUP_INTR
1073807201 */
#define VI_ERROR_INV_LINE
1073807200 */
#define VI_ERROR_FILE_ACCESS
1073807199 */
#define VI_ERROR_FILE_IO
1073807198 */
#define VI_ERROR_NSUP_LINE
1073807197 */
#define VI_ERROR_NSUP_MECH
1073807196 */
#define VI_ERROR_INTF_NUM_NCONFIG
1073807195 */
#define VI_ERROR_CONN_LOST
1073807194 */
Page 8-37
(_VI_ERROR+0x3FFF009FL) /* BFFF009F, (_VI_ERROR+0x3FFF00A0L) /* BFFF00A0, (_VI_ERROR+0x3FFF00A1L) /* BFFF00A1, (_VI_ERROR+0x3FFF00A2L) /* BFFF00A2, (_VI_ERROR+0x3FFF00A3L) /* BFFF00A3, (_VI_ERROR+0x3FFF00A4L) /* BFFF00A4, (_VI_ERROR+0x3FFF00A5L) /* BFFF00A5, (_VI_ERROR+0x3FFF00A6L) /* BFFF00A6, -
/*- Event Types -------------------------------------------------------------*/
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
VI_EVENT_IO_COMPLETION
VI_EVENT_TRIG
VI_EVENT_SERVICE_REQ
VI_EVENT_CLEAR
VI_EVENT_EXCEPTION
VI_EVENT_GPIB_CIC
VI_EVENT_GPIB_TALK
VI_EVENT_GPIB_LISTEN
VI_EVENT_VXI_VME_SYSFAIL
VI_EVENT_VXI_VME_SYSRESET
VI_EVENT_VXI_SIGP
VI_EVENT_VXI_VME_INTR
VI_EVENT_TCPIP_CONNECT
VI_EVENT_USB_INTR
#define VI_ALL_ENABLED_EVENTS
(0x3FFF2009UL)
(0xBFFF200AUL)
(0x3FFF200BUL)
(0x3FFF200DUL)
(0xBFFF200EUL)
(0x3FFF2012UL)
(0x3FFF2013UL)
(0x3FFF2014UL)
(0x3FFF201DUL)
(0x3FFF201EUL)
(0x3FFF2020UL)
(0xBFFF2021UL)
(0x3FFF2036UL)
(0x3FFF2037UL)
(0x3FFF7FFFUL)
/*- Other VISA Definitions --------------------------------------------------*/
#define VI_FIND_BUFLEN
(256)
#define
#define
#define
#define
#define
#define
VI_INTF_GPIB
VI_INTF_VXI
VI_INTF_GPIB_VXI
VI_INTF_ASRL
VI_INTF_TCPIP
VI_INTF_USB
(1)
(2)
(3)
(4)
(6)
(7)
#define
#define
#define
#define
#define
VI_PROT_NORMAL
VI_PROT_FDC
VI_PROT_HS488
VI_PROT_4882_STRS
VI_PROT_USBTMC_VENDOR
(1)
(2)
(3)
(4)
(5)
#define VI_FDC_NORMAL
#define VI_FDC_STREAM
(1)
(2)
#define
#define
#define
#define
#define
(0)
(1)
(2)
(3)
(-1) /* 0xFFFF */
VI_LOCAL_SPACE
VI_A16_SPACE
VI_A24_SPACE
VI_A32_SPACE
VI_OPAQUE_SPACE
#define VI_UNKNOWN_LA
#define VI_UNKNOWN_SLOT
#define VI_UNKNOWN_LEVEL
(-1)
(-1)
(-1)
#define VI_QUEUE
#define VI_HNDLR
(1)
(2)
VXIplug&play Systems Alliance
VPP-4.3.4: VISA Implementation Specification for COM