Returns the value of the peak power adjustment stored in the file. This method uses the waveformIndex as the key to read the waveform properties.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsgPlayback

public static int ReadPeakPowerAdjustmentFromFile(string filePath, int waveformIndex, out double peakPowerAdjustment)

Parameters

NameTypeDescription
filePathstring

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

waveformIndexint

Specifies the waveform number in the file for which you want to read the peak power adjustment location.

peakPowerAdjustmentout double

Returns the peak power adjustment value, stored in the file for the waveform index you specified in the waveformIndex parameter.

Returns

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