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

NameTypeDescription
rfsgSessionIntPtr

Identifies the instrument session. The rfsgSession handle is obtained from the NIRfsg.DangerousGetInstrumentHandle method.

waveformNamestring

Specifies the waveform name used to store the waveform in the NI-RFSG device memory and waveform properties in the NI-RFSG database.

waveformComplexWaveform< ComplexSingle >

Specifies an array of the complex single waveform clusters which has to be downloaded to the device.

burstPresentbool

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.