NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalDriverUtility.ResetAttribute Method (DigitalPinSet, Int32)

  • Updated2023-11-24
  • 1 minute(s) read
DigitalDriverUtility.ResetAttribute Method (DigitalPinSet, Int32)

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

ExceptionCondition
SelectorNameExceptionThe pinSet contains a pin or pin group name not loaded in the pin map.
OperationNotSupportedExceptionThe value for attributeId is not a valid attribute identifier.

Remarks

Use this method to change an attribute on a DigitalPinSet.

See Also

Log in to get a better experience