Obsolete: This method is obsolete. Will warn if used
Returns the current position of a single relay.

Syntax

Namespace: NationalInstruments.DAQmx

public SwitchRelayPosition GetSwitchRelayPosition(string relay)

Parameters

NameTypeDescription
relaystring

The relay you want to query.

Returns

The position of the relay.

Exceptions

TypeDescription
NationalInstruments.DAQmx.DaqException

The NI-DAQmx driver returned an error.