Gets the frequency range around the subblock center frequency, which is used to find the Subblock Occupied Bandwidth. When SetSpanAuto(string, RFmxNRMXObwSpanAuto) is set to False, the configured span value is used by the measurement. This value is expressed in Hz.

Syntax

Namespace: NationalInstruments.RFmx.NRMX

public int GetSpan(string selectorString, out double value)

Remarks

This method gets the value of ObwSpan attribute.The default value is 20 MHz.

Parameters

NameTypeDescription
selectorStringstring

Specifies the subblock number.
Example: "subblock0".
You can use the BuildSubblockString(string, int) method to build the selector string.

valueout double

Upon return, contains the frequency range around the subblock center frequency, which is used to find the Subblock Occupied Bandwidth. When SetSpanAuto(string, RFmxNRMXObwSpanAuto) is set to False, the configured span value is used by the measurement. This value is expressed in Hz.

Returns

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