DigitalCaptureWaveforms.CreateParallel Method (DigitalPinSet, String)
- Updated2023-11-24
- 1 minute(s) read
DigitalCaptureWaveformsCreateParallel Method (DigitalPinSet, String)
Creates the capture waveform settings for parallel acquisition using DigitalPinSet.
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public void CreateParallel( DigitalPinSet pinSet, string waveformName )
Public Sub CreateParallel ( pinSet As DigitalPinSet, waveformName As String )
Parameters
- pinSet
- Type: NationalInstruments.ModularInstruments.NIDigitalDigitalPinSet
The set of pins or channels to create the waveform for. - waveformName
- Type: SystemString
Specifies the waveform name to use. Use the waveformName with the capture_start opcode in your pattern.
Exceptions
Exception | Condition |
---|---|
IviCDriverException | The NI-Digital Pattern Driver returned an error. |
SelectorNameException | The pinSet contains a pin or pin group name not loaded in the pin map. |
InvalidOperationException | The pinSet contains a system pin. |
ArgumentException | The value for waveformName is an empty string or contains an invalid character. |
OutOfRangeException | The number of waveforms in capture memory exceeds the maximum number of waveforms allowed. |
Remarks
Settings apply across all sites if multiple sites are configured. You cannot reconfigure settings after waveforms are created.
The number of waveforms is limited to 512.Refer to Working with Pin Sets for more information.