Gets or sets the instrument function of this pin set. The changes take effect immediately.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDigital

public SelectedFunction SelectedFunction { get; set; }

Returns

The function of this pin set as Digital, Ppmu, Off, or Disconnect. The default value is Disconnect.

Exceptions

TypeDescription
Ivi.Driver.SelectorNameException

An instance of DigitalPinSet references a pin or pin group name not loaded in the pin map.

Ivi.Driver.OutOfRangeException

The value for SelectedFunction is invalid.