RetrieveWaveformSize(IntPtr, string, out int)
- Updated2025-10-13
- 1 minute(s) read
Returns the size of the waveform stored in the NI-RFSG waveform database. This method uses the waveformName parameter as the key to retrieve the waveform property.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsgPlayback
public static int RetrieveWaveformSize(IntPtr rfsgSession, string waveformName, out int waveformSize)
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 retrieve the waveform size. |
| waveformSize | out int | Specifies the size of the waveform stored in the NI-RFSG waveform database for the waveform you specified in the waveformName parameter. 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.