VI_ATTR_ASRL_DCD_STATE

NI-VISA

VI_ATTR_ASRL_DCD_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_DCD_STATE represents the current state of the Data Carrier Detect (DCD) input signal. The DCD signal is often used by modems to indicate the detection of a carrier (remote modem) on the telephone line. The DCD signal is also known as Receive Line Signal Detect (RLSD). This attribute is Read Only except when the VI_ATTR_ASRL_WIRE_MODE attribute is set to VI_ASRL_WIRE_232_DCE, or VI_ASRL_WIRE_232_AUTO with the hardware currently in the DCE state.


Related Topics

INSTR Resource

VI_ATTR_ASRL_CTS_STATE

VI_ATTR_ASRL_DSR_STATE

VI_ATTR_ASRL_DTR_STATE

VI_ATTR_ASRL_RI_STATE

VI_ATTR_ASRL_RTS_STATE