DigitalSourceWaveforms Class
- Updated2026-01-12
- 1 minute(s) read
Contains properties and methods for waveform operations, including creating and writing source waveforms.
Derives from
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDigital
public class DigitalSourceWaveforms : DigitalSubObject
Remarks
Use this class to create and write waveforms. You can source parallel data or serial data.
Refer to Source and Capture for more information on source and capture functionality.
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 |
|---|---|
| CreateFromFile(string, string, bool) | Creates the source waveform settings used to source waveforms with configuration information contained in a .tdms file. |
| CreateParallel(DigitalPinSet, string, SourceDataMapping) | Creates source waveform settings used to source parallel data using a specified DigitalPinSet. |
| CreateParallel(string, string, SourceDataMapping) | Creates source waveform settings used to source parallel data using a comma-delimited string of pins or channels. |
| CreateSerial(string, string, SourceDataMapping, uint, BitOrder) | Creates the source waveform settings used to source serial waveforms using a comma-delimited string of pins or channels. |
| CreateSerial(DigitalPinSet, string, SourceDataMapping, uint, BitOrder) | Creates the source waveform settings used to source serial waveforms using a specified DigitalPinSet. |
| WriteBroadcast(string, uint[]) | Writes the same source waveform data to all sites. |
| WriteFromFile(string, string) | Writes a source waveform based on the waveform data and the configuration information the file contains. |
| WriteSiteUnique(string, string, uint) | Writes one source waveform to each of the specified sites. |