|RFmx WLAN 19.1 Help|
|RFmx WLAN 20.0 Help|
RFmx is a family of instrument drivers that share a single session handle across multiple drivers. You need to open only one RFmx session per signal analyzer, and you use that single session handle to configure and perform measurements with the different RFmx drivers, such as SpecAn, Demod, LTE, and so on.
The RFmx driver APIs have a shared set of API VIs for opening and closing the RFmx session as well as configuring hardware settings, such as the Reference Clock configuration, that are shared across drivers. These shared VIs are called the RFmxInstr driver. RFmxInstr does not contain any measurements, and you always use RFmxInstr along with one or more other RFmx drivers that expose the measurements you need to perform.
Because you must use RFmxInstr VIs to use the RFmx drivers that contain the measurements, for convenience, commonly used VIs, such as RFmxInstr Initialize NIRFSA VI, RFmxInstr Close VI, and RFmxInstr Wait for Acquisition Complete VI, are replicated in the LabVIEW palettes for the other RFmx drivers.
The following is an example of how you use the RFmx API drivers in LabVIEW to capture a spectrum using the RFmx SpecAn driver. The same sequence applies to other ADEs as well.
When you use RFmxInstr VIs to configure hardware settings in an RFmx session, those settings apply to all the RFmx drivers that are present in the same RFmx session. However, the following settings are RFmx driver-specific and are not shared across different RFmx drivers within the same RFmx session:
For example, if you are making both RFmx LTE and RFmx WCDMA measurements within one RFmx session, setting the frequency in RFmx LTE does not affect the frequency used in RFmx WCDMA.