StoreWaveformRuntimeScaling(IntPtr, string, double)
- Updated2025-10-13
- 1 minute(s) read
Stores the runtime scaling value, which you specify in the runtimeScaling parameter, in the NI-RFSG waveform database.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsgPlayback
public static int StoreWaveformRuntimeScaling(IntPtr rfsgSession, string waveformName, double runtimeScaling)
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 for which you want to store the runtime scaling value. |
| runtimeScaling | double | Specifies the runtime scaling value to store in the NI-RFSG database. This value is expressed in dB. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.