Gets the total integrated power, in dBm, of all the enabled carriers measured when you set the SetPowerUnits(string, RFmxSpecAnMXSemPowerUnits) method to dBm. Gets the power spectral density, in dBm/Hz, when you set the SetPowerUnits(string, RFmxSpecAnMXSemPowerUnits) method to dBmPerHertz.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetTotalCarrierPower(string selectorString, out double value)

Remarks

This method maps to the RFmxSpecAn_SEMGetResultsTotalCarrierPower() function in C.

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name. Example: "", "result::r1". You can use the BuildResultString(string) method to build the selector string.

valueout double

Upon return, contains the total integrated power of all the enabled carriers measured when you set the SetPowerUnits(string, RFmxSpecAnMXSemPowerUnits) method to dBm

Returns

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