RFmxWLAN OFDMModAcc Fetch Spectral Flatness VI
- Updated2025-10-13
- 3 minute(s) read
Fetches the spectral flatness margin results.
Use "segment<n>/chain<k>/stream<l>" as the selector string to read results from this VI.

Inputs/Outputs
Selector String
—
Selector String specifies a selector string comprising of the signal name, result name, segment number, chain number, and stream number. If you do not specify the signal name, the default signal instance is used. The default value is "segment0/chain0/stream0". Example: "segment0/chain0/stream0" "signal::sig1/segment0/chain0/stream0" "signal::sig1/result::r1/segment0/chain0/stream0" "result::r1/segment0/chain0/stream0" You can use the RFmxWLAN Build Stream String VI to build the selector string.
Instrument Handle In
—
Instrument Handle In specifies the RFmx session refnum. Instrument Handle In is obtained from the RFmxInstr Initialize NIRFSA VI or the RFmxInstr Initialize NIRFSA (Array) VI.
Timeout (s)
—
Timeout 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 VI waits until the measurement is complete. This value is expressed in seconds. The default value is 10.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Instrument Handle Out
—
Instrument Handle Out passes a reference of your RFmx session to the next VI.
Spectral Flatness Margin (dB)
—
Spectral Flatness Margin returns the spectral flatness margin, which is the minimum of the upper and lower spectral flatness margins. The upper spectral flatness margin is the minimum difference between the upper mask and the spectral flatness across subcarriers. The lower spectral flatness margin is the minimum difference between the spectral flatness and the lower mask across subcarriers. When you set the OFDMModAcc Averaging Enabled property to True, the spectral flatness is computed using the mean of the channel frequency response magnitude computed for each averaging count. This value is expressed in dB.
Spectral Flatness Margin Subcarrier Index
—
Spectral Flatness Margin Subcarrier Index returns the subcarrier index corresponding to the Spectral Flatness Margin parameter.
error out
—
error out contains error information. This output provides standard error out functionality. |
Selector String
—
Instrument Handle In
—
Timeout (s)
—
error in (no error)
—
Instrument Handle Out
—
Spectral Flatness Margin (dB)
—
Spectral Flatness Margin Subcarrier Index
—
error out
—