VI_ATTR_ASRL_DTR_STATE

NI-VISA

VI_ATTR_ASRL_DTR_STATE

Resource Classes

Serial INSTR

Attribute Information

Access Privilege Data Type Range Default

Read/Write
Global

ViInt16

VI_STATE_ASSERTED (1)
VI_STATE_UNASSERTED (0)
VI_STATE_UNKNOWN (–1)

N/A

Description

VI_ATTR_ASRL_DTR_STATE shows the current state of the Data Terminal Ready (DTR) input signal.

When the VI_ATTR_ASRL_FLOW_CNTRL attribute is set to VI_ASRL_FLOW_DTR_DSR, this attribute is Read Only. Querying the value will return VI_STATE_UNKNOWN.


Related Topics

INSTR Resource

VI_ATTR_ASRL_CTS_STATE

VI_ATTR_ASRL_DCD_STATE

VI_ATTR_ASRL_DSR_STATE

VI_ATTR_ASRL_RI_STATE

VI_ATTR_ASRL_RTS_STATE