Returns the value of the Peak Power Adjustment property stored in the NI-RFSG waveform database. This method uses the waveformName parameter as the key to retrieve the waveform property.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsgPlayback

public static int RetrieveWaveformPeakPowerAdjustment(IntPtr rfsgSession, string waveformName, out double peakPowerAdjustment)

Parameters

NameTypeDescription
rfsgSessionIntPtr

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

waveformNamestring

Specifies the name of the waveform for which you want to retrieve the peak power adjustment value.

peakPowerAdjustmentout double

Returns the Peak Power Adjustment property value stored in the NI-RFSG waveform database for the waveform you specified in the waveformName parameter.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.