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

NameTypeDescription
filePathstring

Specifies the absolute path to the TDMS file from which the playback library reads the waveforms.

waveformIndexint

Specifies the index of the waveform that you want to read from the TDMS file.

outputWaveformref 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.