NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

DaqSystem.GetSwitchRelayPositions Method

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

Note: This API is now obsolete.

Returns the current position of a set of relays.

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

Syntax

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

Parameters

relays
Type: SystemString
The set of relays you want to query. You can use a string that contains a comma-delimited list of relays.

Return Value

Type: SwitchRelayPosition
The position of each specified relay. The order of this array corresponds to the order of relays.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience