DigitalCaptureWaveforms.CreateParallel Method (String, String)
- Updated2023-11-24
- 1 minute(s) read
DigitalCaptureWaveformsCreateParallel Method (String, String)
Creates the capture waveform settings for parallel acquisition using a comma-delimited string of pins or channels.
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public void CreateParallel( string pinSetString, string waveformName )
Public Sub CreateParallel ( pinSetString As String, waveformName As String )
Parameters
- pinSetString
- Type: SystemString
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 value for pinSetString contains a pin or pin group name not loaded in the pin map. |
InvalidOperationException | The value for pinSetString 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 in the pin map. 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.