DownloadUserWaveform(IntPtr, string, ComplexWaveform< ComplexSingle >, bool)
- Updated2025-10-13
- 1 minute(s) read
Normalizes the input waveform and writes it into the NI RF vector signal generator. This VI computes the peak to average power ratio (PAPR) using the bursts in the waveform, stores the PAPR, sample rate, waveform size, and runtime scaling value of -1.5 dB in the NI-RFSG waveform database.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsgPlayback
public static int DownloadUserWaveform(IntPtr rfsgSession, string waveformName, ComplexWaveform< ComplexSingle > waveform, bool burstPresent)
Parameters
| Name | Type | Description |
|---|---|---|
| rfsgSession | IntPtr | Identifies the instrument session. The rfsgSession handle is obtained from the NIRfsg.DangerousGetInstrumentHandle method. |
| waveformName | string | Specifies the waveform name used to store the waveform in the NI-RFSG device memory and waveform properties in the NI-RFSG database. |
| waveform | ComplexWaveform< ComplexSingle > | Specifies an array of the complex single waveform clusters which has to be downloaded to the device. |
| burstPresent | bool | Specifies whether the burst is present in the given waveform. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.