VI_ATTR_ASRL_DISCARD_NULL

NI-VISA

VI_ATTR_ASRL_DISCARD_NULL

Note  This attribute is supported for all serial ports on Windows and LabVIEW RT, and ENET-Serial on all platforms. Except for ENET-Serial, it is not supported for serial ports on Linux or Mac.

Resource Classes

Serial INSTR

Attribute Information

Access Privilege Data Type Range Default

Read/Write
Global

ViBoolean

VI_TRUE (1)
VI_FALSE (0)

VI_FALSE

Description

If set to VI_TRUE, NUL characters are discarded. Otherwise, they are treated as normal data characters. For binary transfers, set this attribute to VI_FALSE.


Related Topics

INSTR Resource