GetSwitchRelayPosition(string)
- Updated2026-02-05
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| relay | string | The relay you want to query. |
Returns
The position of the relay.
Exceptions
| Type | Description |
|---|---|
| NationalInstruments.DAQmx.DaqException | The NI-DAQmx driver returned an error. |