RFmx WLAN DotNET

Table of Contents

RFmxWlanMXDsssModAccResults.FetchAveragePowers Method

  • Updated2024-07-17
  • 2 minute(s) read
RFmxWlanMXDsssModAccResults.FetchAveragePowers Method

RFmxWlanMXDsssModAccResultsFetchAveragePowers Method

Fetches the average power of various fields in the PPDU.

Namespace:  NationalInstruments.RFmx.WlanMX
Assembly:  NationalInstruments.RFmx.WlanMX.Fx40 (in NationalInstruments.RFmx.WlanMX.Fx40.dll) Version: 24.5.0.49283 (24.5.0.49283)

Syntax

public int FetchAveragePowers(
	string selectorString,
	double timeout,
	out double preambleAveragePowerMean,
	out double headerAveragePowerMean,
	out double dataAveragePowerMean,
	out double ppduAveragePowerMean
)
Public Function FetchAveragePowers ( 
	selectorString As String,
	timeout As Double,
	<OutAttribute> ByRef preambleAveragePowerMean As Double,
	<OutAttribute> ByRef headerAveragePowerMean As Double,
	<OutAttribute> ByRef dataAveragePowerMean As Double,
	<OutAttribute> ByRef ppduAveragePowerMean As Double
) As Integer

Parameters

selectorString
Type: SystemString
Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used. Example:
""
""
"result::r1"
You can use the BuildResultString(String) method to build the selector string.
timeout
Type: SystemDouble
Specifies the timeout for fetching the specified measurement. Set this value to an appropriate time, longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete. This value is expressed in seconds.
preambleAveragePowerMean
Type: SystemDouble
Upon return, contains the average power of the preamble field of the PPDU. When you set the SetAveragingEnabled(String, RFmxWlanMXDsssModAccAveragingEnabled) method to True , this result returns the mean of the average preamble field power computed for each averaging count. This value is expressed in dBm.
headerAveragePowerMean
Type: SystemDouble
Upon return, contains the average power of the header field of the PPDU. When you set the DSSSModAcc Averaging Enabled method to True , this result returns the mean of the average header field power computed for each averaging count. This value is expressed in dBm.
dataAveragePowerMean
Type: SystemDouble
Upon return, contains the average power of the data field of the PPDU. When you set the DSSSModAcc Averaging Enabled method to True , this method returns the mean of the data field average power results computed for each averaging count. This value is expressed in dBm.
ppduAveragePowerMean
Type: SystemDouble
Upon return, contains the average power of the PPDU. When you set the DSSSModAcc Averaging Enabled method to True , this parameter returns the mean of the average PPDU power results computed for each averaging count. This value is expressed in dBm.

Return Value

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

See Also

Log in to get a better experience