RfsaDriverUtility.GetRelayName Method
- Updated2025-07-17
- 1 minute(s) read
Rfsa
Returns the name of a relay for your device.
Namespace: NationalInstruments.ModularInstruments.NIRfsa
Assembly: NationalInstruments.ModularInstruments.NIRfsa.Fx45 (in NationalInstruments.ModularInstruments.NIRfsa.Fx45.dll) Version: 2025
Syntax
public string GetRelayName( int indexOfRelay )
Public Function GetRelayName ( indexOfRelay As Integer ) As String
Parameters
- indexOfRelay Int32
- Specifies the index of the relay.
Return Value
StringReturns a String representing the name of a relay.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The GetRelayName(Int32) method was accessed after the associated NIRfsa object was disposed. |