VI_ATTR_IO_PROT

NI-VISA

VI_ATTR_IO_PROT

Resource Classes

GPIB INTFC, GPIB INSTR, GPIB-VXI INSTR, Serial INSTR, TCPIP SOCKET, USB INSTR, USB RAW, VXI INSTR, VXI SERVANT

Attribute Information

Access Privilege Data Type Range Default

Read/Write
Local

ViUInt16

GPIB:
VI_PROT_NORMAL (1)
VI_PROT_HS488 (3)

VI_PROT_NORMAL

 

 

VXI
VI_PROT_NORMAL (1)
VI_PROT_FDC (2)

VI_PROT_NORMAL

 

 

GPIB-VXI:
VI_PROT_NORMAL (1)

VI_PROT_NORMAL

 

 

Serial, TCPIP, USB RAW:
VI_PROT_NORMAL (1)
VI_PROT_4882_STRS (4)

VI_PROT_NORMAL

 

 

USB INSTR:
VI_PROT_NORMAL (1)
VI_PROT_USBTMC_VENDOR (5)

VI_PROT_NORMAL

Description

VI_ATTR_IO_PROT specifies which protocol to use. In VXI, you can choose normal word serial or fast data channel (FDC). In GPIB, you can choose normal or high-speed (HS-488) transfers. In serial, TCPIP, or USB RAW, you can choose normal transfers or 488.2-defined strings. In USB INSTR, you can choose normal or vendor-specific transfers.

In previous versions of VISA, VI_PROT_NORMAL was known as VI_NORMAL, VI_PROT_FDC was known as VI_FDC, VI_PROT_HS488 was known as VI_HS488, and VI_PROT_4882_STRS was known as VI_ASRL488.


Related Topics

INSTR Resource

INTFC Resource

RAW Resource

SERVANT Resource

SOCKET Resource

VI_ATTR_FDC_CHNL

VI_ATTR_FDC_MODE

VI_ATTR_FDC_USE_PAIR

VI_ATTR_GPIB_HS488_CBL_LEN