RFmxWLAN Auto Level VI
- Updated2025-10-13
- 3 minute(s) read
Examines the input signal to calculate the peak power level and sets it as the value of the Reference Level property. Use this VI to help calculate an approximate setting for the reference level.
The RFmxWLAN Auto Level VI does the following:
- Resets the mixer level, mixer level offset and IF output power offset.
- Sets the starting reference level to the maximum reference level supported by the device based on the current RF attenuation, mechanical attenuation and preamp enabled settings.
- Iterates to adjust the reference level based on the input signal peak power.
- Uses immediate triggering and restores the trigger settings back to user setting after completing execution.
You can also specify the starting reference level using the Auto Level Initial Ref Level property.
When using NI-PXie 5663, NI-PXie 5665, or NI-PXie 5668R devices, NI recommends that you set an appropriate value for mechanical attenuation before calling the RFmxWLAN Auto Level VI. Setting an appropriate value for mechanical attenuation reduces the number of times the attenuator settings are changed by this VI, thus reducing wear and tear, and maximizing the life time of the attenuator.

Inputs/Outputs
Selector String
—
Selector String specifies a selector string comprising of the signal name. If you do not specify the signal name, the default signal instance is used. The default value is "" (empty string). Example: "" "signal::sig1" You can use the RFmxWLAN Build Signal 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.
Measurement Interval (s)
—
Measurement Interval specifies the acquisition length. Use this value to compute the number of samples to acquire from the signal analyzer. This value is expressed in seconds. The default value is 10 ms. Auto Level VI does not use any trigger for acquisition. It ignores the user-configured trigger properties. NI recommends that you set a sufficiently high measurement interval to ensure that the acquired waveform is at least as long as one period of the signal.
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.
error out
—
error out contains error information. This output provides standard error out functionality. |
Selector String
—
Instrument Handle In
—
Measurement Interval (s)
—
error in (no error)
—
Instrument Handle Out
—
error out
—