VI_ATTR_WR_BUF_OPER_MODE

NI-VISA

VI_ATTR_WR_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_WHEN_FULL (2)

VI_FLUSH_WHEN_FULL

Description

VI_ATTR_WR_BUF_OPER_MODE specifies the operational mode of the formatted I/O write buffer. When the operational mode is set to VI_FLUSH_WHEN_FULL (default), the buffer is flushed when an END indicator is written to the buffer, or when the buffer fills up. If the operational mode is set to VI_FLUSH_ON_ACCESS, the write buffer is flushed under the same conditions, and also every time a viPrintf() (or related) operation completes.


Related Topics

INSTR Resource

INTFC Resource

SERVANT Resource

SOCKET Resource

VI_ATTR_RD_BUF_OPER_MODE

viFlush

viPrintf