CreateParallel(string, string)
- Updated2026-01-12
- 1 minute(s) read
Creates the capture waveform settings for parallel acquisition using a comma-delimited string of pins or channels.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDigital
public void CreateParallel(string pinSetString, string waveformName)
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.
Parameters
| Name | Type | Description |
|---|---|---|
| pinSetString | string | The set of pins or channels to create the waveform for. |
| waveformName | string | Specifies the waveform name to use. Use the waveformName with the capture_start opcode in your pattern. |
Exceptions
| Type | Description |
|---|---|
| Ivi.Driver.IviCDriverException | The NI-Digital Pattern Driver returned an error. |
| Ivi.Driver.SelectorNameException | The value for pinSetString contains a pin or pin group name not loaded in the pin map. |
| System.InvalidOperationException | The value for pinSetString contains a system pin. |
| System.ArgumentException | The value for waveformName is an empty string or contains an invalid character. |
| Ivi.Driver.OutOfRangeException | The number of waveforms in capture memory exceeds the maximum number of waveforms allowed. |