ClearWaveform(IntPtr, string)
- Updated2025-10-13
- 1 minute(s) read
Deletes the waveform from the NI-RFSG device memory and removes the waveform properties from the NI-RFSG waveform properties database for the specified device.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsgPlayback
public static int ClearWaveform(IntPtr rfsgSession, string waveformName)
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 that has to be deleted from the database. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.