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

NameTypeDescription
rfsgSessionIntPtr

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

waveformNamestring

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.