ReadWaveformFromFileByIndexComplex(string, int, ref ComplexWaveform< ComplexDouble >)
- Updated2025-10-13
- 1 minute(s) read
Reads the waveform from file and returns the waveform in an output parameter.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsgPlayback
public static int ReadWaveformFromFileByIndexComplex(string filePath, int waveformIndex, ref ComplexWaveform< ComplexDouble > outputWaveform)
Parameters
| Name | Type | Description |
|---|---|---|
| filePath | string | Specifies the absolute path to the TDMS file from which the playback library reads the waveforms. |
| waveformIndex | int | Specifies the index of the waveform that you want to read from the TDMS file. |
| outputWaveform | ref ComplexWaveform< ComplexDouble > | Returns the data for a complex waveform of ComplexDouble datatype, including the start, delta, and actual values. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.