NI-DAQmx .NET Framework 4.5 API Reference

DaqSystem.GetSwitchRelayPosition Method

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.GetSwitchRelayPosition Method

Note: This API is now obsolete.

Returns the current position of a single relay.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302

Syntax

[ObsoleteAttribute("This method is obsolete.")]
public SwitchRelayPosition GetSwitchRelayPosition(
	string relay
)
<ObsoleteAttribute("This method is obsolete.")>
Public Function GetSwitchRelayPosition ( 
	relay As String
) As SwitchRelayPosition

Parameters

relay
Type: SystemString
The relay you want to query.

Return Value

Type: SwitchRelayPosition
The position of the relay.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience