Provides operations to create and fetch capture waveforms with the NI-Digital Pattern Driver.

Derives from

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDigital

public class DigitalCaptureWaveforms : DigitalSubObject

Remarks

Use this class to create and fetch waveforms. You can create parallel data or serial data.

For more information on capture functionality, refer to Capture in the Digital Pattern Help.

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.

Methods

NameDescription
CreateFromFile(string, string)

Creates a capture waveform using the configuration information from a .digicapture file.

CreateParallel(DigitalPinSet, string)

Creates the capture waveform settings for parallel acquisition using DigitalPinSet.

CreateParallel(string, string)

Creates the capture waveform settings for parallel acquisition using a comma-delimited string of pins or channels.

CreateSerial(string, string, uint, BitOrder)

Creates the capture waveform settings for serial acquisition using a comma-delimited string of pins or channels.

CreateSerial(DigitalPinSet, string, uint, BitOrder)

Creates the capture waveform settings for serial acquisition using DigitalPinSet.

Fetch(string, string, int, TimeSpan, ref uint)

Fetches a defined number of samples for a specified list of sites.