VI_ATTR_RD_BUF_OPER_MODE

NI-VISA

VI_ATTR_RD_BUF_OPER_MODE

Resource Classes

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

Attribute Information

Access Privilege Data Type Range Default

Read/Write
Local

ViUInt16

VI_FLUSH_ON_ACCESS (1)
VI_FLUSH_DISABLE (3)

VI_FLUSH_DISABLE

Description

VI_ATTR_RD_BUF_OPER_MODE specifies the operational mode of the formatted I/O read buffer. When the operational mode is set to VI_FLUSH_DISABLE (default), the buffer is flushed only on explicit calls to viFlush(). If the operational mode is set to VI_FLUSH_ON_ACCESS, the read buffer is flushed every time a viScanf() (or related) operation completes.


Related Topics

INSTR Resource

INTFC Resource

SERVANT Resource

SOCKET Resource

VI_ATTR_WR_BUF_OPER_MODE

viFlush

viScanf