VI_ATTR_ASRL_END_IN

Resource Classes

Serial INSTR

Attribute Information

Access Privilege Data Type Range Default

Read/Write
Local

ViUInt16

VI_ASRL_END_NONE (0)
VI_ASRL_END_LAST_BIT (1)
VI_ASRL_END_TERMCHAR (2)

VI_ASRL_END_TERMCHAR

Description

VI_ATTR_ASRL_END_IN indicates the method used to terminate read operations.

Because the default value of VI_ATTR_TERMCHAR is 0Ah (linefeed), read operations on serial ports will stop reading whenever a linefeed is encountered. To change this behavior, you must change the value of one of these attributes—VI_ATTR_ASRL_END_IN or VI_ATTR_TERMCHAR.


Related Topics

INSTR Resource

VI_ATTR_ASRL_END_OUT

VI_ATTR_TERMCHAR