Gets the percentage of the total power that is contained in the frequency range defined by the occupied bandwidth (OBW).

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetBandwidthPercentage(string selectorString, out double value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

valueout double

Upon return, contains the percentage of the total power that is contained in the frequency range defined by the OBW.

Returns

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