Creates the capture waveform settings for parallel acquisition using DigitalPinSet.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDigital

public void CreateParallel(DigitalPinSet pinSet, string waveformName)

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.

Parameters

NameTypeDescription
pinSetDigitalPinSet

The set of pins or channels to create the waveform for.

waveformNamestring

Specifies the waveform name to use. Use the waveformName  with the capture_start opcode in your pattern.

Exceptions

TypeDescription
Ivi.Driver.IviCDriverException

The NI-Digital Pattern Driver returned an error.

Ivi.Driver.SelectorNameException

The pinSet  contains a pin or pin group name not loaded in the pin map.

System.InvalidOperationException

The pinSet  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.