Creates an RFmx session to the device you specify through the resourceName parameter.

Note

Enabling the SFP (Soft Front Panel) debug has a performance impact. For best performance, NI recommends disabling SFP debug. SFP debug can be enabled/disabled from either the RF Signal Analyzer panel in InstrumentStudio, the RFSA Soft Front Panel, or the RFmx Debug Configuration Utility.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public RFmxInstrMX(string[] resourceName, string optionString)

Remarks


To set multiple attributes, separate their assignments with a comma.

Parameters

NameTypeDescription
resourceNamestring[]

Specifies the resource names of the device to initialize.

optionStringstring

Sets the initial value of certain properties for the session.
The following attributes are used in this parameter:
  • RFmxSetup  

  • Simulate  

  • AnalysisOnly  


To simulate a device using the PXIe-5622 (25 MHz) digitizer, set the Digitizer field to 5622_25MHz_DDC and the Simulate field to 1. You can set the Digitizer field to 5622_25MHz_DDC only when using the PXIe-5665.
To use AnalysisOnly mode, specify the string as "AnalysisOnly=1;MaxNumWfms:n", where "n" represents the maximum number of waveforms that can be used for the MIMO measurement. While using this mode, you are responsible for waveform acquisition and RFmx will perform analysis on the I/Q waveform(s) or Spectrum(s) you specify. You must use personality specific Analyze functions to perform the measurements. To use external NI Source Measure Units (SMU) as the noise source power supply for the Noise Figure (NF) measurement, use "NoiseSourcePowerSupply" as the specifier within the RFmxSetup string. For example, "RFmxSetup= NoiseSourcePowerSupply:myDCPower[0]" configures RFmx to use channel 0 on myDCPower SMU device for powering the noise source. You should allocate a dedicated SMU channel for RFmx. RFmx supports PXIe-4138, PXIe-4139, and PXIe-4139 (40 W) SMUs.