Returns the name of a relay for your device.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public string GetRelayName(int indexOfRelay)

Parameters

NameTypeDescription
indexOfRelayint

Specifies the index of the relay.

Returns

Returns a String representing the name of a relay.

Exceptions

TypeDescription
System.ObjectDisposedException

The GetRelayName method was accessed after the associated NIRfsa object was disposed.