WriteBroadcast(string, uint[])
- Updated2026-01-12
- 1 minute(s) read
Writes the same source waveform data to all sites.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDigital
public void WriteBroadcast(string waveformName, uint[] waveformData)
Remarks
Use this method if you created the source waveform to use Broadcast data mapping.
Parameters
| Name | Type | Description |
|---|---|---|
| waveformName | string | Name of the source waveform. Use the waveformName with the source_start opcode in your pattern. |
| waveformData | uint[] | A 1D array of waveform data samples to use as the source data to apply to all sites. |
Exceptions
| Type | Description |
|---|---|
| Ivi.Driver.IviCDriverException | The NI-Digital Pattern Driver returned an error. |
| System.ArgumentException | The waveform name specified by waveformName does not exist. |