GetRelayName(int)
- Updated2025-10-14
- 1 minute(s) read
Returns the name of a relay for your device.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsa
public string GetRelayName(int indexOfRelay)
Parameters
| Name | Type | Description |
|---|---|---|
| indexOfRelay | int | Specifies the index of the relay. |
Returns
Returns a String representing the name of a relay.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The GetRelayName method was accessed after the associated NIRfsa object was disposed. |