Stores the size of the waveform, which you specify in the waveformSize parameter, in the NI-RFSG waveform database.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsgPlayback

public static int StoreWaveformSize(IntPtr rfsgSession, string waveformName, int waveformSize)

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 store the waveform size.

waveformSizeint

Specifies the size of the waveform to store in the NI-RFSG waveform database. This value is expressed in samples.

Returns

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