Provides properties that control the operation of the NI-Digital Pattern Driver software.

Derives from

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDigital

public class DigitalDriverOperation : DigitalSubObject, IIviDriverOperation, IDisposable

Remarks

Use this class to oversee or change the operations for the NI-Digital Pattern Driver software. For example, use this class to see if the driver software is simulating, checking value ranges, or coercing records.
Note

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.

Properties

NameDescription
Cache

Gets or sets a value indicating whether to cache the values of properties.

DriverSetup

Gets the string used to set the initial values for NIDigital properties.

InterchangeCheck

Gets or sets a value indicating whether to perform interchangeability checking and retrieve interchangeability warnings.

IOResourceDescriptor

Gets a string containing the resource name used to identify the instrument.

LogicalName

Gets a string containing the logical name that was specified when the current session was opened.

QueryInstrumentStatus

Gets or sets a value indicating whether the NI-Digital Pattern driver software queries the instrument status after each operation.

RangeCheck

Gets or sets a value indicating whether to validate values and method parameters.

RecordCoercions

Gets or sets a value indicating whether the IVI engine keeps a list of the value coercions it makes for integer and real type properties.

Simulate

Gets or sets a value indicating whether to simulate NI-Digital Pattern Driver software I/O operations.

Methods

NameDescription
Dispose()

Disposes the DigitalDriverOperation object.

InvalidateAllAttributes()

Invalidates all properties.

ResetInterchangeCheck()

Resets the interchangeability checking algorithms of the NI-Digital Pattern Driver software so that methods and properties that executed prior to calling this method have no effect on whether future calls to the driver generate interchangeability warnings.

Events

NameDescription
Coercion

Occurs when a property is coerced.

InterchangeCheckWarning

Occurs when the driver cannot interchange instruments.

Warning

Occurs when the driver creates a driver warning.