DigitalDriverUtility Class
- Updated2026-01-12
- 2 minute(s) read
Provides a basic set of driver utility operations.
Derives from
- DigitalSubObject
- IIviDriverUtility
- IDisposable
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDigital
public class DigitalDriverUtility : DigitalSubObject, IIviDriverUtility, IDisposable
Remarks
Example applications are located in the <Public Documents>\National Instruments\NI-Digital\Examples\DotNET 4.x directory or in the Start menu at National Instruments » NI Digital Pattern Examples.
Thread Safety
All members of this type are safe for multithreaded operations.
Methods
| Name | Description |
|---|---|
| SortPinResultsBySite(NIDigital[], string, byte, out string[], out int[]) | Organizes data read from multiple digital pattern instruments by grouping the data by site number. |
| SortPinResultsBySite(NIDigital[], string, long, out string[], out int[]) | Organizes data read from multiple digital pattern instruments by grouping the data by site number. |
| SortPinResultsBySite(NIDigital[], string, double, out string[], out int[]) | Organizes data read from multiple digital pattern instruments by grouping the data by site number. |
| SortSiteResultsBySite(NIDigital[], string, SiteResultType, uint, out int[]) | Orders site data read from multiple instruments to match the site list you specify, and combines data from instruments mapped to the same site. |
| SortSiteResultsBySite(NIDigital[], string, SiteResultType, bool, out int[]) | Orders site data read from multiple instruments to match the site list you specify, and combines data from instruments mapped to the same site. |
| Disable() | Places the instrument in an inactive state as quickly as possible. |
| Dispose() | Disposes the DigitalDriverUtility object. |
| ErrorQuery() | Reads an error code and the associated message from the NI-Digital Pattern Driver software error queue. |
| GetChannelName(int) | Returns the channel name given a System.Int32 one-based index. |
| GetChannelNameFromString(string) | Returns a comma-separated channel name list given a System.String index list. |
| GetPinResultsPinInformation(DigitalPinSet) | Gets an array of pins or channels corresponding to the specified pin set. |
| GetPinResultsPinInformation(string) | Returns an array of pins and an array of sites corresponding to the specified channel list. |
| GetSiteResultsSiteNumbers(string, SiteResultType) | Returns the site numbers that correspond to per-site data read from the digital pattern instrument. |
| Lock() | Acquires a synchronization lock on this instance of the driver. |
| Lock(PrecisionTimeSpan) | Acquires a synchronization lock on this instance of the driver. |
| Reset() | Resets the digital pattern instrument to a known state. |
| ResetAttribute(DigitalPinSet, int) | Resets a driver attribute to its default state using a DigitalPinSet. |
| ResetAttribute(int) | Resets a driver attribute to its default state. |
| ResetAttribute(string, int) | Resets a driver attribute to its default state using a string to specify pins, pin groups, or channels. |
| ResetDevice() | Returns the digital pattern instrument to a known state. |
| ResetWithDefaults() | Resets the digital pattern instrument to a known state, while also resetting properties and settings to the initial values specified during the construction of the NIDigital session. |
| SelfTest() | Performs a self-test on the digital pattern instrument and returns the test result. |