DigitalSourceWaveforms.WriteBroadcast Method
- Updated2023-11-24
- 1 minute(s) read
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
Exception | Condition |
---|---|
IviCDriverException | The NI-Digital Pattern Driver returned an error. |
ArgumentException | The waveform name specified by waveformName does not exist. |
Remarks
Use this method if you created the source waveform to use Broadcast data mapping.