DigitalDriverUtility.ResetAttribute Method (DigitalPinSet, Int32)
- Updated2023-11-24
- 1 minute(s) read
DigitalDriverUtilityResetAttribute Method (DigitalPinSet, Int32)
Resets a driver attribute to its default state using a DigitalPinSet.
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public void ResetAttribute( DigitalPinSet pinSet, int attributeId )
Public Sub ResetAttribute ( pinSet As DigitalPinSet, attributeId As Integer )
Parameters
- pinSet
- Type: NationalInstruments.ModularInstruments.NIDigitalDigitalPinSet
The pin set representing the pins, pin groups, or channels to reset the attribute for. - attributeId
- Type: SystemInt32
The attribute to reset.
Exceptions
Exception | Condition |
---|---|
SelectorNameException | The pinSet contains a pin or pin group name not loaded in the pin map. |
OperationNotSupportedException | The value for attributeId is not a valid attribute identifier. |
Remarks
Use this method to change an attribute on a DigitalPinSet.