WriteSiteUnique(string, string, uint)
- Updated2026-01-12
- 1 minute(s) read
Writes one source waveform to each of the specified sites.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDigital
public void WriteSiteUnique(string siteList, string waveformName, uint[][] waveformData)
Remarks
Use this method if you created the source waveform to use SiteUnique data mapping.
Parameters
| Name | Type | Description |
|---|---|---|
| siteList | string | The comma-delimited list of sites on which to burst the pattern (for example, "<tt>site0, site1</tt>"). Sites that are not on this list are disabled. All sites are enabled for pattern bursting if you pass an empty string. |
| waveformName | string | Name of the source waveform. Use the waveformName with the source_start opcode in your pattern. |
| waveformData | uint | A 2D jagged array of waveform samples to use as source data. Each row corresponds to each site in the specified siteList . |
Exceptions
| Type | Description |
|---|---|
| Ivi.Driver.IviCDriverException | The NI-Digital Pattern Driver returned an error. |
| Ivi.Driver.SelectorNameException | The value for siteList contains an invalid site. |
| System.ArgumentException |
|