DigitalPinSet.SelectedFunction Property
- Updated2023-11-24
- 1 minute(s) read
DigitalPinSetSelectedFunction Property
Gets or sets the instrument function of this pin set. The changes take effect immediately.
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public SelectedFunction SelectedFunction { get; set; }
Public Property SelectedFunction As SelectedFunction Get Set
Property Value
Type: SelectedFunctionThe function of this pin set as Digital, Ppmu, Off, or Disconnect. The default value is Disconnect.
Exceptions
Exception | Condition |
---|---|
SelectorNameException | An instance of DigitalPinSet references a pin or pin group name not loaded in the pin map. |
OutOfRangeException | The value for SelectedFunction is invalid. |