StoreWaveformPeakPowerAdjustment(IntPtr, string, double)
- Updated2025-10-13
- 1 minute(s) read
Stores the peak power adjustment, which you specify in the peakPowerAdjustment parameter, in the RFSG waveform database.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsgPlayback
public static int StoreWaveformPeakPowerAdjustment(IntPtr rfsgSession, string waveformName, double peakPowerAdjustment)
Parameters
| Name | Type | Description |
|---|---|---|
| rfsgSession | IntPtr | Identifies the instrument session. The rfsgSession handle is obtained from the NIRfsg.DangerousGetInstrumentHandle method. |
| waveformName | string | Specifies the name of the waveform for which you want to store the peak power adjustment. |
| peakPowerAdjustment | double | Specifies the peak power adjustment to store in the RFSG waveform database. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.