NI-Digital Pattern Driver .NET Class Library

Table of Contents

NIDigital Class

  • Updated2023-11-24
  • 6 minute(s) read
NIDigital Class

NIDigital Class

Represents a digital pattern instrument session.

Inheritance Hierarchy

SystemObject
  NationalInstruments.ModularInstruments.NIDigitalNIDigital

Namespace:  NationalInstruments.ModularInstruments.NIDigital
Assembly:  NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021

Syntax

public sealed class NIDigital : IDisposable, 
	IServiceProvider, IIviDriver, ITClockSynchronizableDevice
Public NotInheritable Class NIDigital
	Implements IDisposable, IServiceProvider, IIviDriver, ITClockSynchronizableDevice

The NIDigital type exposes the following members.

Constructors

  NameDescription
Public methodNIDigital(IntPtr)
Initializes a new instance of the NIDigital class. Initializes an instrument driver session from an existing instrument handle.
Public methodNIDigital(String, Boolean, Boolean)
Initializes a new instance of the NIDigital class. Initializes a digital pattern instrument driver session and sets the initial state of session properties.
Public methodNIDigital(String, Boolean, Boolean, String)
Initializes a new instance of the NIDigital class. This overload is reserved for future use.
Top

Properties

  NameDescription
Public propertyCaptureWaveforms
Gets the DigitalCaptureWaveforms object containing methods for creating and fetching capture waveforms.
Public propertyDriverOperation
Gets the DigitalDriverOperation object containing methods and properties that manage the operation of the driver.
Public propertyEvent
Gets the DigitalEvent object that contains the events for the NIDigital session.
Public propertyHistoryRam
Gets the DigitalHistoryRam object containing methods for configuring and fetching History RAM contents.
Public propertyIdentity
Gets the DigitalDriverIdentity object, which contains properties that return information about the identity of the NI-Digital Pattern Driver software.
Public propertyIsDisposed
Gets a value indicating whether the NIDigital session has been disposed.
Public propertyNumberOfChannels
Gets the number of channels on the digital pattern instrument.
Public propertyPatternControl
Gets the DigitalPatternControl control object, containing properties and methods for setting up and bursting a pattern.
Public propertyPinAndChannelMap
Gets the DigitalPinAndChannelMap object that stores all the pin mapping information for the NIDigital session.
Public propertySourceWaveforms
Gets the DigitalSourceWaveforms object containing the functionality for creating and writing source waveforms.
Public propertyTiming
Gets the DigitalTiming object that stores the time sets for the NIDigital session.
Public propertyTrigger
Gets the DigitalTrigger object that contains the triggers for the NIDigital session.
Public propertyUtility
Gets the DigitalDriverUtility object containing methods providing utility operations for the NI-Digital Pattern Driver.
Top

Methods

  NameDescription
Public methodApplyLevelsAndTiming(String, String, String)
Applies digital levels and timing defined in the loaded levels and timing sheets.
Public methodApplyLevelsAndTiming(String, String, String, DigitalPinSet, DigitalPinSet, DigitalPinSet)
Applies digital levels and timing defined in the loaded levels and timing sheets.
Public methodApplyLevelsAndTiming(String, String, String, String, String, String)
Applies digital levels and timing defined in the loaded levels and timing sheets.
Public methodClose
Closes the session with the digital pattern instrument.
Public methodDisableSites
Disables the specified sites.
Public methodDispose
Disposes the NIDigital session.
Public methodEnableSites
Enables the specified sites.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExportSignal
Routes trigger and event signals to the specified outputTerminal.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetInstrumentHandle
Gets the SafeHandle to the NIDigital instrument session.
Public methodGetService
Gets the service object of the specified type.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsSiteEnabled
Returns whether the specified site is enabled or disabled.
Public methodLoadLevels(IEnumerableString)
Loads levels sheets from a list of pin levels files.
Public methodLoadLevels(String)
Loads a levels sheet from file.
Public methodLoadPattern
Loads a pattern to the hardware from a pattern file.
Public methodLoadPinMap
Loads a pin map file.
Public methodLoadSpecifications(IEnumerableString)
Loads specifications sheets from a list of specifications files.
Public methodLoadSpecifications(String)
Loads a specifications sheet from file.
Public methodLoadTiming(IEnumerableString)
Loads one or more time sets from a list of timing sheet files.
Public methodLoadTiming(String)
Loads one or more time sets from a timing sheet file.
Public methodSelfCalibrate
Performs a self-calibration on a digital pattern instrument. This operation may take several minutes to complete.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnloadAllPatterns
Unloads all patterns, source waveforms, and capture waveforms from a digital pattern instrument.
Public methodUnloadSpecifications(IEnumerableString)
Unloads the given specifications sheets present in the previously loaded specifications files that you select.
Public methodUnloadSpecifications(String)
Unloads the given specifications sheet present in the previously loaded specifications file that you select.
Top

Remarks

Use this class to configure and control your digital pattern instrument.
Tip Tip
Example applications are located in the Public Documents\National Instruments\NI-Digital\Examples\DotNET 4.x directory or in the Start menu at National InstrumentsNI Digital Pattern Examples.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Log in to get a better experience