NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalCaptureWaveforms.CreateParallel Method (String, String)

  • Updated2023-11-24
  • 1 minute(s) read
DigitalCaptureWaveforms.CreateParallel Method (String, String)

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

ExceptionCondition
IviCDriverExceptionThe NI-Digital Pattern Driver returned an error.
SelectorNameExceptionThe value for pinSetString contains a pin or pin group name not loaded in the pin map.
InvalidOperationExceptionThe value for pinSetString contains a system pin.
ArgumentExceptionThe value for waveformName is an empty string or contains an invalid character.
OutOfRangeExceptionThe 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.

See Also

Log in to get a better experience