NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalSourceWaveforms.WriteBroadcast Method

  • Updated2023-11-24
  • 1 minute(s) read
DigitalSourceWaveforms.WriteBroadcast Method

DigitalSourceWaveformsWriteBroadcast Method

Writes the same source waveform data to all sites.

Namespace:  NationalInstruments.ModularInstruments.NIDigital
Assembly:  NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021

Syntax

public void WriteBroadcast(
	string waveformName,
	uint[] waveformData
)
Public Sub WriteBroadcast ( 
	waveformName As String,
	waveformData As UInteger()
)

Parameters

waveformName
Type: SystemString
Name of the source waveform. Use the waveformName with the source_start opcode in your pattern.
waveformData
Type: SystemUInt32
A 1D array of waveform data samples to use as the source data to apply to all sites.

Exceptions

ExceptionCondition
IviCDriverExceptionThe NI-Digital Pattern Driver returned an error.
ArgumentExceptionThe waveform name specified by waveformName does not exist.

Remarks

Use this method if you created the source waveform to use Broadcast data mapping.

See Also

Log in to get a better experience