DigitalSourceWaveforms.WriteSiteUnique Method
- Updated2023-11-24
- 1 minute(s) read
DigitalSourceWaveformsWriteSiteUnique Method
Writes one source waveform to each of the specified sites.
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public void WriteSiteUnique( string siteList, string waveformName, uint[][] waveformData )
Public Sub WriteSiteUnique ( siteList As String, waveformName As String, waveformData As UInteger()() )
Parameters
- siteList
- Type: SystemString
The comma-delimited list of sites on which to burst the pattern (for example, "site0, site1"). Sites that are not on this list are disabled. All sites are enabled for pattern bursting if you pass an empty string. - waveformName
- Type: SystemString
Name of the source waveform. Use the waveformName with the source_start opcode in your pattern. - waveformData
- Type: SystemUInt32
A 2D jagged array of waveform samples to use as source data. Each row corresponds to each site in the specified siteList.
Exceptions
Exception | Condition |
---|---|
IviCDriverException | The NI-Digital Pattern Driver returned an error. |
SelectorNameException | The value for siteList contains an invalid site. |
ArgumentException |
|
Remarks
Use this method if you created the source waveform to use SiteUnique data mapping.