VI_ATTR_SUPPRESS_END_EN

NI-VISA

VI_ATTR_SUPPRESS_END_EN

Resource Classes

Serial INSTR, TCPIP SOCKET, USB RAW, VXI INSTR

Attribute Information

Access Privilege Data Type Range Default

Read/Write
Local

ViBoolean

VI_TRUE (1)
VI_FALSE (0)

VI_FALSE

Description

VI_ATTR_SUPPRESS_END_EN is relevant only in viRead and related operations.

For all session types on which this attribute is supported, if this attribute is set to VI_TRUE, read will not terminate due to an END condition. However, a read may still terminate successfully if VI_ATTR_TERMCHAR_EN is set to VI_TRUE. Otherwise, read will not terminate until all requested data is received (or an error occurs).

On Serial INSTR sessions, if this attribute is set to VI_FALSE, VISA will perform the behavior described in VI_ATTR_ASRL_END_IN.

On USB RAW sessions, if this attribute is set to VI_FALSE, VISA will perform the behavior described in VI_ATTR_USB_END_IN.

On TCP/IP SOCKET sessions, if this attribute is set to VI_FALSE, if NI-VISA reads some data and then detects a pause in the arrival of data packets, it will terminate the read operation. On TCP/IP SOCKET sessions, this attribute defaults to VI_TRUE in NI-VISA.

On VXI INSTR sessions, if this attribute is set to VI_FALSE, the END bit terminates read operations.


Related Topics

INSTR Resource

VI_ATTR_ASRL_END_IN

VI_ATTR_USB_END_IN

viRead