ReadPeakPowerAdjustmentFromFile(string, int, out double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| filePath | string | Specifies the absolute path to the TDMS file from which the playback library reads the waveform. |
| waveformIndex | int | Specifies the waveform number in the file for which you want to read the peak power adjustment location. |
| peakPowerAdjustment | out 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.