VI_ATTR_SEND_END_EN

NI-VISA

VI_ATTR_SEND_END_EN

Resource Classes

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

Attribute Information

Access Privilege Data Type Range Default

Read/Write
Local

ViBoolean

VI_TRUE (1)
VI_FALSE (0)

VI_TRUE

Description

VI_ATTR_SEND_END_EN specifies whether to assert END during the transfer of the last byte of the buffer.

VI_ATTR_SEND_END_EN is relevant only in viWrite and related operations.

On Serial INSTR sessions, if this attribute is set to VI_FALSE, the write will transmit the exact contents of the user buffer, without modifying it and without appending anything to the data being written. If this attribute is set to VI_TRUE, VISA will perform the behavior described in VI_ATTR_ASRL_END_OUT.

On GPIB, VXI, GPIB-VXI, TCP/IP INSTR, and USB INSTR sessions, if this attribute is set to VI_TRUE, VISA will include the 488.2 defined "end of message" terminator.


Related Topics

INSTR Resource

INTFC Resource

SERVANT Resource

SOCKET Resource

VI_ATTR_ASRL_END_OUT

viWrite