ResetAttribute(string, int)
- Updated2026-01-12
- 1 minute(s) read
Resets a driver attribute to its default state using a string to specify pins, pin groups, or channels.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDigital
public void ResetAttribute(string pinSetString, int attributeId)
Parameters
| Name | Type | Description |
|---|---|---|
| pinSetString | string | The pin set string representing the pins, pin groups, or channels to reset the attribute for. |
| attributeId | int | The attribute to reset. |
Exceptions
| Type | Description |
|---|---|
| Ivi.Driver.SelectorNameException | The value for pinSetString contains a pin or pin group name not loaded in the pin map. |
| Ivi.Driver.OperationNotSupportedException | The value for attributeId is not a valid attribute identifier. |