RFmx Instr DotNET

Table of Contents

RFmxInstrMX Class

  • Updated2024-07-17
  • 41 minute(s) read
RFmxInstrMX Class

RFmxInstrMX Class

Defines a root class which is used to identify and control Instr signal configuration.

Inheritance Hierarchy

SystemObject
  NationalInstruments.RFmx.InstrMXRFmxInstrMX

Namespace: NationalInstruments.RFmx.InstrMX
Assembly: NationalInstruments.RFmx.InstrMX.Fx40 (in NationalInstruments.RFmx.InstrMX.Fx40.dll) Version: 24.5.0.49285 (24.5.0.49285)

Syntax

public sealed class RFmxInstrMX : IDisposable
Public NotInheritable Class RFmxInstrMX
	Implements IDisposable

The RFmxInstrMX type exposes the following members.

Constructors

 NameDescription
Public methodRFmxInstrMX(IntPtr) Creates a new RFmx session from an existing RFmx instrument handle.
Public methodRFmxInstrMX(String, String) Creates an RFmx session to the device you specify through the resourceName parameter.
Note  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.
Public methodRFmxInstrMX(String, String) Creates an RFmx session to the device you specify through the resourceName parameter.
Note  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.
Top

Properties

 NameDescription
Public propertyIsDisposed Gets a value that indicates whether the signal has been disposed.
Public propertyNumberOfLists Gets the number of lists created in the current session.
Public propertyNumberOfSignalConfigurations Gets the number of signal configurations created in the current session.
Top

Methods

 NameDescription
Public methodStatic memberBuildCalibrationPlaneString Creates the selector string to use with External Attenuation Table methods.
Public methodStatic memberBuildInstrumentString Creates the instrument string to use as the Selector String for reading the recommended settings.
Public methodStatic memberBuildLOString Creates the LO string to use as the selector string for LO related methods.
Public methodStatic memberBuildModuleString Configures the Module string to use as the Selector String for reading temperature of specific modules of the device.
Public methodStatic memberBuildPortString2 Creates the port string to use as the selector string with External Attenuation Table methods. On a MIMO session, this method can be used to build port string to use as a selector string for configuring or reading port-specific methods and external attenuation table methods.
Public methodCheckAcquisitionStatus Checks the status of the acquisition. Use this method to check for any errors that may occur during acquisition, or to check whether RFmx has completed the acquisition operation.
Public methodCheckIfListExists Returns whether the list you specify in the listname parameter exists, and also returns the corresponding personality of the list, if the list exists. This method does not support an empty ("") list name.
Public methodCheckIfSignalExists Returns whether the signal you specify in the signalname parameter exists, and also returns the corresponding personality of the signal, if the signal exists. This method does not support an empty ("") signal name.
Public methodClose Closes the RFmx session.
Public methodConfigureExternalAttenuationInterpolationLinear Selects the linear interpolation method when interpolating S-parameters for the specified table. If the carrier frequency does not match a row in the S-parameter table, this method performs a linear interpolation based on the entries above and below the row in the table.
Currently interpolation is supported only for S-parameter tables. supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842/5860
Public methodConfigureExternalAttenuationInterpolationNearest Selects the nearest interpolation method when interpolating S-parameters for a specified table. The parameters of the table nearest to the carrier frequency are used.
Currently interpolation is supported only for S-parameter tables. supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5860
Public methodConfigureExternalAttenuationInterpolationSpline Selects the spline interpolation method when interpolating parameters for the specified table. If the carrier frequency does not match a row in the S-parameter table, this method performs a spline interpolation based on the entries above and below the row in the table.
Currently interpolation is supported only for S-parameter tables. supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842/5860
Public methodConfigureExternalAttenuationTable Stores the external attenuation table in the calibration plane specified by the selectorString parameter. On a MIMO session, the external attenuation table is stored for each MIMO port in the specified calibration plane.
If there is only one table configured in any calibration plane, it is automatically selected as the active table.
supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842/5860
Public methodConfigureFrequencyReference Configures the Reference Clock and the frequency reference source.
Public methodConfigureMechanicalAttenuation Configures the mechanical attenuation and RFmx attenuation hardware settings.
supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668
Public methodConfigureRFAttenuation Configures the nominal attenuation and RFmx setting.
supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668
Public methodConfigureSParameterExternalAttenuationTable Stores the S-parameter table in the calibration plane specified by the selectorString parameter. On a MIMO session the S-parameter table is stored for each MIMO port in the specified calibration plane.
supporteddevices: PXIe-5830/5831/5832/5840/5841/5842/5860
If there is only one table configured in any calibration plane, it is automatically selected as the active table.
Public methodConfigureSParameterExternalAttenuationType Configures the type of S-parameter to apply to measurements on the specified port for a Calplane. You can use the Selector String input to specify the name of the Calplane and port to configure for S-parameter.
supporteddevices: PXIe-5830/5831/5832/5840/5841/5842/5860
Public methodDangerousGetNIRfsaHandle Returns the value of the underlying instrument handle.
Note  Note
Do not close the NI-RFSA driver session before calling RFmx close. Closing the NI-RFSA driver session before closing RFmx session would lead to unpredictable behavior.
Public methodDangerousGetNIRfsaHandleArray Returns list of underlying instrument handles.
Note  Note
Do not close the NI-RFSA driver session before calling RFmx close. Closing the NI-RFSA driver session before closing RFmx session would lead to unpredictable behavior.
Public methodDeleteAllExternalAttenuationTables Deletes all the external attenuation tables in the calibration plane specified by the selectorString parameter. On a MIMO session, this method deletes all the external attenuation tables for the specified MIMO port.
supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842/5860
Public methodDeleteExternalAttenuationTable Deletes the external attenuation table set by the tableName parameter in the calibration plane specified by the selectorString parameter. On a MIMO session, this method selects the active external attenuation table for the specified MIMO port. The specified table will be used for amplitude correction during measurement.
supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842/5860
Public methodDisableCalibrationPlane Disables the calibration plane specified by the selectorString parameter for amplitude correction.
supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842/5860
Public methodDispose Deletes the signal configuration if it is not the default signal configuration and clears any trace of the current signal configuration, if any.
Public methodEnableCalibrationPlane Enables the calibration plane specified by the selectorString parameter for amplitude correction.
supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842/5860
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Public methodExportSignal Routes signals (triggers, clocks, and events) to the specified output terminal.
This method is not supported on a MIMO session.
Public methodFetchRawIQDataFetches I/Q data from a single record in an acquisition.
Public methodForceClose Closes all RFmx sessions. Calling this method once will destroy the session, irrespective of the many references obtained for the session for a particular resource name.
Public methodGetAdvanceTriggerDigitalEdgeSource Gets the source terminal for the advance trigger.
Public methodGetAdvanceTriggerExportOutputTerminal Gets the destination terminal for the exported advance trigger.
Public methodGetAdvanceTriggerTerminalName Gets the fully qualified signal name as a string.
Public methodGetAdvanceTriggerType Gets whether the advance trigger is a digital edge or a software trigger.
Public methodGetAmplitudeSettling Gets the amplitude settling accuracy value. This value is expressed in decibels. RFmx waits until the RF power attains the specified accuracy level after calling the RFmx Initiate function.
Public methodGetAttributeBool Gets the value of a Bool attribute.
Public methodGetAttributeByte Gets the value of a Byte attribute.
Public methodGetAttributeByteArray Gets the value of a byte array attribute.
Public methodGetAttributeComplexDoubleArray Gets the value of a ComplexDouble array attribute.
Public methodGetAttributeComplexSingleArray Gets the value of a ComplexSingle array attribute.
Public methodGetAttributeDouble Gets the value of a Double attribute.
Public methodGetAttributeDoubleArray Gets the value of a double array attribute.
Public methodGetAttributeFloat Gets the value of a Float attribute.
Public methodGetAttributeFloatArray Gets the value of a float array attribute.
Public methodGetAttributeInt Gets the value of an RFmx 32-bit integer (int32) attribute.
Public methodGetAttributeIntArray Gets the value of a int array attribute.
Public methodGetAttributeLong Gets the value of an RFmx 64-bit integer (int64) attribute.
Public methodGetAttributeLongArray Gets the value of a long array attribute.
Public methodGetAttributeSByte Gets the value of a SByte attribute.
Public methodGetAttributeSByteArray Gets the value of a sbyte array attribute.
Public methodGetAttributeShort Gets the value of a Short attribute.
Public methodGetAttributeString Gets the value of a string attribute.
Public methodGetAttributeUInt Gets the value of a uint attribute.
Public methodGetAttributeUIntArray Gets the value of a uint array attribute.
Public methodGetAttributeULongArray Gets the value of a ulong array attribute.
Public methodGetAttributeUShort Gets the value of a UShort attribute.
Public methodGetAvailablePaths Gets paths available for the session. On a MIMO session, this method fetches all the paths for the initialized MIMO paths.
Public methodGetAvailablePorts(String)Obsolete.
Gets the list of ports available for use based on your instrument configuration.
Public methodGetAvailablePorts(String, String) Gets ports available for the session. On a MIMO session, this method fetches all the ports for the initialized MIMO ports.
Public methodGetChannelCoupling Gets whether the RF IN connector is AC- or DC-coupled on the downconverter.
Public methodGetCleanerSpectrum Gets how to obtain the lowest noise floor or faster measurement speed.
Public methodGetCommonModeLevel Gets the common-mode level presented at each differential input terminal. The common-mode level shifts both positive and negative terminals in the same direction. This must match the common-mode level of the device under test (DUT). This value is expressed in Volts.
Public methodGetDeviceTemperature Gets the current temperature of the module. This value is expressed in degrees Celsius.
Public methodGetDigitalGain Gets the scaling factor applied to the time-domain voltage data in the digitizer. This value is expressed in dB.
Public methodGetDigitizerDitherEnabled Gets whether dithering is enabled on the digitizer.
Public methodGetDigitizerTemperature Gets the current temperature of the digitizer module. This value is expressed in degrees Celsius.
Public methodGetDoneEventOutputTerminal Gets the destination terminal for the Done event.
Public methodGetDoneEventTerminalName Gets the fully qualified signal name as a string.
Public methodGetDownconverterCenterFrequency Enables in-band retuning and specifies the current frequency of the RF downconverter. This value is expressed in Hz.
Public methodGetDownconverterFrequencyOffset Gets an offset from the center frequency value for the downconverter. Use this method to offset the measurement away from the LO leakage or DC Offset of analyzers that use a direct conversion architecture. You must set this method to half the bandwidth or span of the measurement + guardband. The guardband is needed to ensure that the LO leakage is not inside the analog or digital filter rolloffs. This value is expressed in Hz.
Public methodGetDownconverterGain Gets the net signal gain for the device at the current RFmx settings and temperature. RFmx scales the acquired I/Q and spectrum data from the digitizer using the value of this method.
Public methodGetDownconverterPreselectorEnabled Gets whether the tunable preselector is enabled on the downconverter.
Public methodGetEndOfRecordEventOutputTerminal Gets the destination terminal for the End of Record event.
Public methodGetEndOfRecordEventTerminalName Gets the fully qualified signal name as a string.
Public methodGetErrorString Converts the status code returned by an RFmxInstr function into a string.
Public methodGetExternalAttenuationTableActualValueReturns the external attenuation table actual value that is applied to the measurements for a specified signal and calibration plane.
Public methodGetFftWidth Gets the FFT width of the device. The FFT width is the effective bandwidth of the signal path during each signal acquisition.
Public methodGetFrequencyReferenceExportedTerminal Gets a comma-separated list of the terminals at which to export the frequency reference.
Public methodGetFrequencyReferenceFrequency Gets the Reference Clock rate, when the Frequency Reference Source method is set to ClkIn or RefIn. This value is expressed in Hz.
Public methodGetFrequencyReferenceSource Gets the frequency reference source.
Public methodGetFrequencySettling Gets the value used for LO frequency settling.
Public methodGetFrequencySettlingUnits Gets the delay duration units and interpretation for LO settling.
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetIFFilterBandwidth Gets the IF filter path bandwidth for your device configuration.
Public methodGetIFOutputPowerLevelOffset Gets the power offset by which to adjust the default IF output power level. This value is expressed in dB.
Public methodGetInputIsolationEnabled Gets whether input isolation is enabled.
Public methodGetInstrumentFirmwareRevision Gets a string containing the firmware revision information of the RF downconverter for the composite device you are currently using.
Public methodGetInstrumentHandle Gets the SafeHandle to the RFmxInstrMX instrument session.
Public methodGetInstrumentModel Gets a string that contains the model number or name of the RF device that you are currently using.
Public methodGetListNames Returns the list names and the corresponding selected personality type from the personalityFilter parameter. When you set the personalityFilter parameter to all, this function returns the available list names for all supported personalities.
Public methodGetLO2ExportEnabled Gets whether to enable the LO2 OUT terminals in the installed devices.
Public methodGetLoadOptions Specifies the configurations to skip while loading from a file using the LoadConfigurations(String) method
Public methodGetLOExportEnabled Gets whether to enable the LO OUT terminals on the installed devices.
Public methodGetLOFrequency Gets the LO signal frequency for the configured center frequency. This value is expressed in Hz.
Public methodGetLOFrequencyStepSize Gets the step size for tuning the LO phase-locked loop (PLL).
Public methodGetLOInjectionSide Enables in-band retuning and specifies the current frequency of the RF downconverter. This value is expressed in Hz.
Public methodGetLOInPower Gets the power level expected at the LO IN terminal when the SetLOSource(String, String) method is set to RFMXINSTR_VAL_LO_SOURCE_LO_IN. This value is expressed in dBm.
Public methodGetLOLeakageAvoidanceEnabled Gets whether to reduce the effects of the instrument leakage by placing the LO outside the band of acquisition.
Public methodGetLOOutPower Gets the power level of the signal at the LO OUT terminal when the SetLOExportEnabled(String, Boolean) method is set to TRUE. This value is expressed in dBm.
Public methodGetLOPllFractionalMode Gets whether to use fractional mode for the LO phase-locked loop (PLL).
Public methodGetLOSharingMode Gets the RFmx session with the respective LO sharing mode.
Public methodGetLOSource Gets the LO signal source used to downconvert the RF input signal.
Public methodGetLOTemperature Gets the current temperature of the LO module associated with the device. This value is expressed in degrees Celsius.
Public methodGetLOVcoFrequencyStepSize Gets the step size for tuning the internal voltage-controlled oscillator (VCO) used to generate the LO signal. The valid values for LO1 include 1 Hz to 50 MHz and for LO2 include 1 Hz to 100 MHz.
Public methodGetMechanicalAttenuationAuto Gets whether RFmx chooses an attenuation setting based on the hardware settings.
Public methodGetMechanicalAttenuationValue Gets the level of mechanical attenuation for the RF path. This value is expressed in dB.
Public methodGetMixerLevel Gets the mixer level, in dBm.
Public methodGetMixerLevelOffset Gets the number of dB by which to adjust the device mixer level.
Public methodGetModuleRevision Gets the revision of the RF downconverter module.
Public methodGetNumberOfLOSharingGroups Gets the RFmx session with the number of LO sharing groups.
Public methodGetNumberOfRawIQRecords Gets the number of raw IQ records to acquire to complete measurement averaging.
Public methodGetOptimizePathForSignalBandwidth Optimizes RF path for the signal bandwidth that is centered on the IQ carrier frequency.
Public methodGetOspDelayEnabled Gets whether to enable the digitizer OSP block to delay Reference Triggers, along with the data samples, moving through the OSP block.
Public methodGetOverflowErrorReporting Configures error reporting for ADC and overflows occurred during onboard signal processing. Overflows lead to clipping of the waveform.
Public methodGetPhaseOffset Gets the offset to apply to the initial I and Q phases.
Public methodGetPreampEnabled Gets whether the RF preamplifier is enabled in the system.
Public methodGetPreselectorPresent Indicates whether a preselector is available on the RF downconverter module.
Public methodGetReadyForAdvanceEventOutputTerminal Gets the destination terminal for the Ready for Advance event.
Public methodGetReadyForAdvanceEventTerminalName Gets the fully qualified signal name as a string.
Public methodGetReadyForReferenceEventOutputTerminal Gets the destination terminal for the Ready for Reference event.
Public methodGetReadyForReferenceEventTerminalName Gets the fully qualified signal name as a string.
Public methodGetReadyForStartEventOutputTerminal Gets the destination terminal for the Ready for Start event.
Public methodGetReadyForStartEventTerminalName Gets the fully qualified signal name as a string.
Public methodGetRecommendedAcquisitionType Gets the recommended acquisition type for the last committed measurement configuration.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRecommendedCenterFrequency Gets the recommended center frequency of the RF signal. This value is expressed in Hz.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRecommendedIQAcquisitionTime Gets the recommended acquisition time for I/Q acquisition, in seconds.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRecommendedIQMinimumSampleRate Gets the recommended minimum sample rate for I/Q acquisition, in Hz.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRecommendedIQPreTriggerTime Gets the recommended pretrigger time for I/Q acquisition, in seconds.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRecommendedNumberOfRecords Gets the recommended number of records to acquire to complete measurement averaging.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRecommendedSpectralAcquisitionSpan Gets the recommended acquisition span for spectral acquisition, in Hz.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRecommendedSpectralFftWindow Gets the recommended FFT window type for spectral acquisition.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRecommendedSpectralResolutionBandwidth Gets the recommended FFT bin width for spectral acquisition. This value is expressed in Hz.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRecommendedTriggerMinimumQuietTime Gets the recommended minimum quiet time during which the signal level must be below the trigger value for triggering to occur. This value is expressed in seconds.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.
Public methodGetRFAttenuationAuto Gets whether RFmx computes the RF attenuation.
Public methodGetRFAttenuationStepSize Gets the step size for the RF attenuation level. This value is expressed in dB. The actual RF attenuation is coerced up to the next highest multiple of the specified step size. If the mechanical attenuators are not available to implement the coerced RF attenuation, the solid state attenuators are used.
Public methodGetRFAttenuationValue Gets the nominal attenuation setting for all attenuators before the first mixer in the RF signal chain. This value is expressed in dB.
Public methodGetRFHighpassFilterFrequency Gets the maximum corner frequency of the high pass filter in the RF signal path. The device uses the highest frequency high-pass filter option below or equal to the value you specify and returns a coerced value. Specifying a value of 0 disables high pass filtering silly.For multispan acquisitions, the device uses the appropriate filter for each subspan during acquisition, depending on the details of your application and the value you specify. In multispan acquisition spectrum applications, this method returns the value you specified rather than a coerced value if multiple high-pass filters are used during the acquisition.
Public methodGetRFPreampPresent Indicates whether an RF preamplifier is available on the RF downconverter module.
Public methodGetSelfCalibrateLastDateAndTime Gets the date and time of the last successful self-calibration.

Supported Devices: PXIe-5644/5645/5646, PXIe-5663/5663E/5665/5668, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

Note  Note
For PXIe-5644/5645/5646 devices, you must select ImageSuppression for the selfCalibrateStep parameter.
Public methodGetSelfCalibrateLastTemperature Gets the temperature of the last successful self-calibration. This value is expresed in degree Celsius. On a MIMO session, use the selectorString parameter to get the last successful self-calibration temperature for a specific MIMO port.

Supported Devices: PXIe-5644/5645/5646, PXIe-5663/5663E/5665/5668, PXIe-5820/5830/5831 (IF only)/5832 (IF only)/5840/5841/5842/5860

Note  Note
For PXIe-5644/5645/5646 devices, you must select ImageSuppression for the selfCalibrateStep parameter.
Public methodGetSelfCalibrationValidityCheck Gets whether RFmx validates the self-calibration data.
Public methodGetSelfCalibrationValidityCheckTimeInterval Gets the minimum time between two self calibration validity checks. This value is expressed in seconds.
Public methodGetSerialNumber Gets the serial number of the RF downconverter module.
Public methodStatic memberGetSession(String, String) Gets a session, if it exists for given resource name; else, returns a new one.
Public methodStatic memberGetSession(String, String) Gets a session, if it exists for given set of resource name; else, returns a new one.
Public methodStatic memberGetSession(String, String, Boolean) Gets a session, if it exists for given resource name; else, returns a new one.
Public methodStatic memberGetSession(String, String, Boolean) Gets a session, if it exists for given set of resource name; else, returns a new one.
Public methodStatic memberGetSessionFromNIRfsaHandle Gets a session, if it exists for given NIRfsa instrument handle; else, returns a new one.
Note  Note

1. Do not close the NI-RFSA driver session before calling RFmx close. Closing the NI-RFSA driver session before closing RFmx session would lead to unpredictable behavior.

2. Closing the RFmx session will not close the NI-RFSA driver session.

Public methodStatic memberGetSessionFromNIRfsaHandles Gets a session, if it exists for given set of NIRfsa instrument handle; else, returns a new one.
Note  Note

1. Do not close the NI-RFSA driver session before calling RFmx close. Closing the NI-RFSA driver session before closing RFmx session would lead to unpredictable behavior.

2. Closing the RFmx session will not close the NI-RFSA driver session.

Public methodGetSignalConfigurationNames Returns the signal names and corresponding personality type, for the personality type selected in the personalityFilter parameter.
Public methodGetSmuChannel Gets the output channel to be used for noise figure (NF) measurement in RFmx.
Public methodGetSmuResourceName Gets the resource name assigned by Measurement and Automation Explorer (MAX) for NI Source Measure Units (SMU) which is used as the noise source power supply for Noise Figure (NF) measurement, for example, PXI1Slot3, where PXI1Slot3 is an instrument resource name. SMU Resource Name can also be a logical IVI name.
Public methodGetSParameterExternalAttenuationType

Returns the type of S-parameter to apply to measurements on the specified port for a Calplane. You can use the selectorString input to specify the name of the Calplane and port to configure for s-parameter.

Supported devices: PXIe-5830/5831/5832/5840

Public methodGetStartTriggerDigitalEdge Gets the active edge for the start trigger. This method is used only when you set the SetStartTriggerType(String, RFmxInstrMXStartTriggerType) method to DigitalEdge.
Public methodGetStartTriggerDigitalEdgeSource Gets the source terminal for the start trigger. This method is used only when you set the SetStartTriggerType(String, RFmxInstrMXStartTriggerType) method to DigitalEdge.
Public methodGetStartTriggerExportOutputTerminal Gets the destination terminal for the exported start trigger.
Public methodGetStartTriggerTerminalName Gets the fully qualified signal name as a string.
Public methodGetStartTriggerType Gets whether the start trigger is a digital edge or a software trigger.
Public methodGetSubSpanOverlap Gets the maximum corner frequency of the high pass filter in the RF signal path. The device uses the highest frequency high-pass filter option below or equal to the value you specify and returns a coerced value. Specifying a value of 0 disables high pass filtering silly.For multispan acquisitions, the device uses the appropriate filter for each subspan during acquisition, depending on the details of your application and the value you specify. In multispan acquisition spectrum applications, this method returns the value you specified rather than a coerced value if multiple high-pass filters are used during the acquisition.
Public methodGetTemperatureReadInterval Gets the minimum time difference between temperature sensor readings. This value is expressed in seconds.
Public methodGetThermalCorrectionHeadroomRange Gets the expected thermal operating range of the instrument from the self-calibration temperature returned from the GetDeviceTemperature(String, Double) method. This value is expressed in degree Celsius.
Public methodGetThermalCorrectionTemperatureResolution Gets the temperature change required before RFmx recalculates the thermal correction settings when entering the running state. This value is expressed in degree Celsius.
Public methodGetTriggerExportOutputTerminal Gets the destination terminal for the exported Reference Trigger. You can also choose not to export any signal.
Public methodGetTriggerTerminalName Gets the fully-qualified signal name as a string.

The standard format is as follows:

  • PXIe-5820/5840/5841/5842: /ModuleName/ai/0/RefTrigger, where ModuleName is the name of your device in MAX.
  • PXIe-5830/5831/5832: /BasebandModule/ai/0/RefTrigger, where BasebandModule is the name of your device in MAX.
  • PXIe-5860: /ModuleName/ai/ChannelNumber/RefTrigger,, where ModuleName is the name of your device in MAX and ChannelNumber is the channel number (0 or 1).
  • All other devices: /DigitizerName/RefTrigger, where DigitizerName is the name of your associated digitizer module in MAX.
  • Supported devices: PXIe-5663/5663E/5665/5668, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

    Public methodGetTuningSpeed Makes tradeoffs between tuning speed and phase noise.
    Public methodGetTypeGets the Type of the current instance.
    (Inherited from Object)
    Public methodGetWarningGets the latest warning code and description.
    Public methodIsSelfCalibrateValid Returns an array to indicate which calibration steps contain valid calibration data. To omit steps with the valid calibration data from self-calibration, you can pass the validSteps parameter to the stepsToOmit parameter of the SelfCalibrate(String, RFmxInstrMXSelfCalibrateSteps) method. On a MIMO session use the selectorString parameter to get the self-calibration validity for a specific MIMO port.
    supporteddevices: PXIe-5663/5663E/5665/5668
    Public methodLoadConfigurations Loads the methods of an RFmx session saved in a file. This file can be generated using SaveAllConfigurations(String) method or the RF Signal Analyzer panel in InstrumentStudio. You can specify the configurations to skip while loading from a file using the LoadOptions property.
    If the file contains a named signal configuration which is already present in the session, then this method will return an error. It is recommended to call the RFmxInstr Reset Entire Session method to delete all the named signal configurations in the session.
    Public methodLoadSParameterExternalAttenuationTableFromS2pFile Stores the S-parameter table from the S2P file in the calibration plane specified by the selectorString parameter. S-parameter tables are used for fixture de-embedding. On a MIMO session the S-parameter table is stored for each MIMO port in the specified calibration plane.
    supporteddevices: PXIe-5830/5831/5832/5840/5841/5842/5860
    If there is only one table configured in any calibration plane, it is automatically selected as the active table.
    Public methodResetAttribute Resets the attribute to its default value.
    Public methodResetDriver Restores the NI-RFSA driver state to a default state to avoid RFmx using any hardware or driver state that was set by the RF toolkits or other custom NI-RFSA code.
    Use this method when you switch back to using RFmx to perform measurements after you have used the NI-RFSA handle to perform measurements with RF toolkits or you have used other custom NI-RFSA code. Unlike the ResetToDefault method, the RfmxInstr Reset Driver method does not reset RFmx methods configured on the RFmx session. Hence, you do not need to set RFmx methods again when switching back to RFmx measurements. Refer to RFmx SpecAn CHP - WCDMA ModAcc - CHP Example (LabVIEW) on ni.com for more information about using RFmx to perform measurements.
    Public methodResetEntireSession Deletes all the named signal configurations in the session and resets all methods for the default signal instances of already loaded personalities in the session.
    This method disables all the calibration planes.
    Public methodResetToDefault Resets the RFmxInstr methods to their default values.
    This method disables all the calibration planes.
    Public methodSaveAllConfigurations Saves all the configured methods in the RFmx session to a file in the specified file path. Use this method to save the current state of the RFmx session. On a MIMO session, this method saves all the configured methods for the specified MIMO port.
    List configurations, reference waveforms and external attenuation tables are not saved by this method.
    Public methodSelectActiveExternalAttenuationTable Activates the external attenuation table set by the tableName parameter in the calibration plane specified by the selectorString parameter. On a MIMO session, this method selects the active external attenuation table for the specified MIMO port. The specified table will be used for amplitude correction during measurement.
    supporteddevices: PXIe-5663/5663E, PXIe-5665, PXIe-5668, PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842/5860
    Public methodSelfCalibrate Self-calibrates the NI-RFSA device and associated modules that support self-calibration. If self-calibration completes successfully, the new calibration constants are stored immediately in the nonvolatile memory of the module. On a MIMO session, this method self-calibrates all NI-RFSA devices and associated modules that support self-calibration.
    Refer to the specifications document for your device for more information about how often to self-calibrate. For more information about Self Calibrate, refer to the niRFSA Self Cal method topic for your device in the NI RF Vector Signal Analyzers Help.
    For PXIe-5644/5645/5646, RFmx internally closes the RFSA session, performs self-calibration and opens a new session for the same device. If the RFSA session has been accessed from RFmx, using the RFmxInstr Get NIRFSA Session method before calling the RFmxInstr Self Calibrate method, the RFSA session will become invalid upon calling the RFmxInstr Self Calibrate. supporteddevices: PXIe-5663/5663E/5665/5668, PXIe-5644/5645/5646, PXIe-5820/5830/5831/5832/5840/5841/5842/5860
    Public methodSelfCalibrateRange Self-calibrates all configurations within the specified frequency and reference level limits. If there is an open session for NI-RFSG for your device, it may remain open but cannot be used while this method runs. NI recommends that no external signals are present on the RF In port while the calibration is taking place. For more information about Self Calibrate Range, refer to the niRFSA Self Calibrate Range method topic for your device in the NI RF Vector Signal Analyzers Help. On a MIMO session, this method self-calibrates all NI-RFSA devices and associated modules that support self-calibration.
    supporteddevices: PXIe-5644/5645/5646, PXIe-5820/5830/5831/5832/5840/5841/5842/5860
    This method does not update self-calibration date and temperature. Self-calibration range data is not saved to your device if you restart the system.
    Public methodSendSoftwareEdgeAdvanceTrigger Sends a trigger to the waiting device when you choose a software version of the Advance trigger. You can also use this method to override a hardware trigger.
    This method returns an error if:
    • You configure an invalid trigger.
    • You have not previously called the RFmx Initiate method.
    supporteddevices: PXIe-5644/5645/5646, PXIe-5663/5663E/5665/5668, PXIe-5820/5830/5831/5832/5840/5841/5842/5860
    Public methodSendSoftwareEdgeStartTrigger Sends a trigger to the waiting device when you choose a software version of Start trigger. You can also use this method to override a hardware trigger.
    This method returns an error if:
    • You configure an invalid trigger.
    • You have not previously called the RFmx Initiate method.
    supporteddevices: PXIe-5644/5645/5646, PXIe-5663/5663E/5665/5668, PXIe-5820/5830/5831/5832/5840/5841/5842/5860
    Public methodSetAdvanceTriggerDigitalEdgeSource Sets the source terminal for the advance trigger.
    Public methodSetAdvanceTriggerExportOutputTerminal Sets the destination terminal for the exported advance trigger.
    Public methodSetAdvanceTriggerType Sets whether the advance trigger is a digital edge or a software trigger.
    Public methodSetAmplitudeSettling Sets the amplitude settling accuracy value. This value is expressed in decibels. RFmx waits until the RF power attains the specified accuracy level after calling the RFmx Initiate method. Any specified amplitude settling value that is above the acceptable minimum value is coerced down to the closest valid value.

    Supported Devices: PXIe-5644/5645/5646, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

    Public methodSetAttributeBool Sets the value of a Bool attribute.
    Public methodSetAttributeByte Sets the value of a Byte attribute.
    Public methodSetAttributeByteArray Sets the value of a byte array attribute.
    Public methodSetAttributeComplexDoubleArray Sets the value of a ComplexDouble array attribute.
    Public methodSetAttributeComplexSingleArray Sets the value of a ComplexSingle array attribute.
    Public methodSetAttributeDouble Sets the value of a Double attribute.
    Public methodSetAttributeDoubleArray Sets the value of a double array attribute.
    Public methodSetAttributeFloat Sets the value of a Float attribute.
    Public methodSetAttributeFloatArray Sets the value of a float array attribute.
    Public methodSetAttributeInt Sets the value of a Int attribute.
    Public methodSetAttributeIntArray Sets the value of a int array attribute.
    Public methodSetAttributeLong Sets the value of a Long attribute.
    Public methodSetAttributeLongArray Sets the value of a long array attribute.
    Public methodSetAttributeSByte Sets the value of a SByte attribute.
    Public methodSetAttributeSByteArray Sets the value of a sbyte array attribute.
    Public methodSetAttributeShort Sets the value of a Short attribute.
    Public methodSetAttributeString Sets the value of a String attribute.
    Public methodSetAttributeUInt Sets the value of a UInt attribute.
    Public methodSetAttributeUIntArray Sets the value of a uint array attribute.
    Public methodSetAttributeULongArray Sets the value of a ulong array attribute.
    Public methodSetAttributeUShort Sets the value of a UShort attribute.
    Public methodSetChannelCoupling Sets whether the RF IN connector is AC- or DC-coupled on the downconverter.
    Public methodSetCleanerSpectrum Sets how to obtain the lowest noise floor or faster measurement speed.
    Public methodSetCommonModeLevel Sets the common-mode level presented at each differential input terminal. The common-mode level shifts both positive and negative terminals in the same direction. This must match the common-mode level of the device under test (DUT). This value is expressed in Volts.
    Public methodSetDigitalGain Sets the scaling factor applied to the time-domain voltage data in the digitizer. This value is expressed in dB.
    Public methodSetDigitizerDitherEnabled Sets whether dithering is enabled on the digitizer.
    Public methodSetDoneEventOutputTerminal Sets the destination terminal for the Done event.
    Public methodSetDownconverterCenterFrequency Enables in-band retuning and specifies the current frequency of the RF downconverter. This value is expressed in Hz.
    Public methodSetDownconverterFrequencyOffset Sets an offset from the center frequency value for the downconverter. Use this method to offset the measurement away from the LO leakage or DC Offset of analyzers that use a direct conversion architecture. You must set this method to half the bandwidth or span of the measurement + guardband. The guardband is needed to ensure that the LO leakage is not inside the analog or digital filter rolloffs. This value is expressed in Hz.
    Public methodSetDownconverterPreselectorEnabled Sets whether the tunable preselector is enabled on the downconverter.
    Public methodSetEndOfRecordEventOutputTerminal Sets the destination terminal for the End of Record event.
    Public methodSetFftWidth Sets the FFT width of the device. The FFT width is the effective bandwidth of the signal path during each signal acquisition.
    Public methodSetFrequencyReferenceExportedTerminal Sets a comma-separated list of the terminals at which to export the frequency reference.
    Public methodSetFrequencyReferenceFrequency Sets the Reference Clock rate, when the Frequency Reference Source method is set to ClkIn or RefIn. This value is expressed in Hz.
    Public methodSetFrequencyReferenceSource Sets the frequency reference source.
    Public methodSetFrequencySettling Sets the value used for LO frequency settling. Specify the units and interpretation for this scalar value using the SetFrequencySettlingUnits(String, RFmxInstrMXFrequencySettlingUnits) method.
    Note  Note
    This method is not supported if you are using an external LO.

    Supported devices: PXIe-5644/5645/5646, PXIe-5663/5663E/5665/5668, PXIe-5830/5831/5832/5840/5841/5842/5860

    Public methodSetFrequencySettlingUnits Gets the value used for LO frequency settling. Specify the units and interpretation for this scalar value using the SetFrequencySettlingUnits(String, RFmxInstrMXFrequencySettlingUnits) method.
    Note  Note
    This method is not supported if you are using an external LO.

    Supported devices: PXIe-5644/5645/5646, PXIe-5663/5663E/5665/5668, PXIe-5830/5831/5832/5840/5841/5842/5860

    Public methodSetIFFilterBandwidth Sets the IF filter path bandwidth for your device configuration.
    Public methodSetIFOutputPowerLevelOffset Sets the power offset by which to adjust the default IF output power level. This value is expressed in dB.
    Public methodSetInputIsolationEnabled Sets whether input isolation is enabled.
    Public methodSetLO2ExportEnabled Sets whether to enable the LO2 OUT terminals in the installed devices.
    Public methodSetLoadOptions Specifies the configurations to skip while loading from a file using the LoadConfigurations(String) method
    Public methodSetLOExportEnabled Sets whether to enable the LO OUT terminals on the installed devices.
    Public methodSetLOFrequency Sets the LO signal frequency for the configured center frequency. This value is expressed in Hz.
    Public methodSetLOFrequencyStepSize Sets the step size for tuning the LO phase-locked loop (PLL).
    Public methodSetLOInjectionSide Enables in-band retuning and specifies the current frequency of the RF downconverter. This value is expressed in Hz.
    Public methodSetLOInPower Sets the power level expected at the LO IN terminal when the SetLOSource(String, String) method is set to RFMXINSTR_VAL_LO_SOURCE_LO_IN. This value is expressed in dBm.
    Public methodSetLOLeakageAvoidanceEnabled Sets whether to reduce the effects of the instrument leakage by placing the LO outside the band of acquisition.
    Public methodSetLOOutPower Sets the power level of the signal at the LO OUT terminal when the SetLOExportEnabled(String, Boolean) method is set to TRUE. This value is expressed in dBm.
    Public methodSetLOPllFractionalMode Sets whether to use fractional mode for the LO phase-locked loop (PLL).
    Public methodSetLOSharingMode Sets the RFmx session with the respective LO sharing mode.
    Public methodSetLOSource Sets the LO signal source used to downconvert the RF input signal.
    Public methodSetLOVcoFrequencyStepSize Sets the step size for tuning the internal voltage-controlled oscillator (VCO) used to generate the LO signal. The valid values for LO1 include 1 Hz to 50 MHz and for LO2 include 1 Hz to 100 MHz.
    Public methodSetMechanicalAttenuationAuto Sets whether RFmx chooses an attenuation setting based on the hardware settings.
    Public methodSetMechanicalAttenuationValue Sets the level of mechanical attenuation for the RF path. This value is expressed in dB.
    Public methodSetMixerLevel Sets the mixer level, in dBm.
    Public methodSetMixerLevelOffset Sets the number of dB by which to adjust the device mixer level.
    Public methodSetNumberOfLOSharingGroups Sets the RFmx session with the number of LO sharing groups.
    Public methodSetOptimizePathForSignalBandwidth Optimizes RF path for the signal bandwidth that is centered on the IQ carrier frequency.
    Public methodSetOspDelayEnabled Sets whether to enable the digitizer OSP block to delay Reference Triggers, along with the data samples, moving through the OSP block.
    Public methodSetOverflowErrorReporting Configures error reporting for ADC and overflows occurred during onboard signal processing. Overflows lead to clipping of the waveform.
    Public methodSetPhaseOffset Sets the offset to apply to the initial I and Q phases.
    Public methodSetPreampEnabled Sets whether the RF preamplifier is enabled in the system.
    Public methodSetReadyForAdvanceEventOutputTerminal Sets the destination terminal for the Ready for Advance event.
    Public methodSetReadyForReferenceEventOutputTerminal Sets the destination terminal for the Ready for Reference event.
    Public methodSetReadyForStartEventOutputTerminal Sets the destination terminal for the Ready for Start event.
    Public methodSetRFAttenuationAuto Sets whether RFmx computes the RF attenuation.
    Public methodSetRFAttenuationStepSize Sets the step size for the RF attenuation level. This value is expressed in dB. The actual RF attenuation is coerced up to the next highest multiple of the specified step size. If the mechanical attenuators are not available to implement the coerced RF attenuation, the solid state attenuators are used.
    Public methodSetRFAttenuationValue Sets the nominal attenuation setting for all attenuators before the first mixer in the RF signal chain. This value is expressed in dB.
    Public methodSetRFHighpassFilterFrequency Sets the maximum corner frequency of the high pass filter in the RF signal path. The device uses the highest frequency high-pass filter option below or equal to the value you specify and returns a coerced value. Specifying a value of 0 disables high pass filtering silly.For multispan acquisitions, the device uses the appropriate filter for each subspan during acquisition, depending on the details of your application and the value you specify. In multispan acquisition spectrum applications, this method returns the value you specified rather than a coerced value if multiple high-pass filters are used during the acquisition.
    Public methodSetSelfCalibrationValidityCheck Sets whether RFmx validates the self-calibration data.
    Public methodSetSelfCalibrationValidityCheckTimeInterval Sets the minimum time between two self calibration validity checks. This value is expressed in seconds.
    Public methodSetSmuChannel Sets the output channel to be used for noise figure (NF) measurement in RFmx.
    Public methodSetSmuResourceName Sets the resource name assigned by Measurement and Automation Explorer (MAX) for NI Source Measure Units (SMU) which is used as the noise source power supply for Noise Figure (NF) measurement, for example, PXI1Slot3, where PXI1Slot3 is an instrument resource name. SMU Resource Name can also be a logical IVI name.
    Public methodSetStartTriggerDigitalEdge Sets the active edge for the start trigger. This method is used only when you set the SetStartTriggerType(String, RFmxInstrMXStartTriggerType) method to DigitalEdge.
    Public methodSetStartTriggerDigitalEdgeSource Sets the source terminal for the start trigger. This method is used only when you set the SetStartTriggerType(String, RFmxInstrMXStartTriggerType) method to DigitalEdge.
    Public methodSetStartTriggerExportOutputTerminal Sets the destination terminal for the exported start trigger.
    Public methodSetStartTriggerType Sets whether the start trigger is a digital edge or a software trigger.
    Public methodSetSubSpanOverlap Sets the maximum corner frequency of the high pass filter in the RF signal path. The device uses the highest frequency high-pass filter option below or equal to the value you specify and returns a coerced value. Specifying a value of 0 disables high pass filtering silly.For multispan acquisitions, the device uses the appropriate filter for each subspan during acquisition, depending on the details of your application and the value you specify. In multispan acquisition spectrum applications, this method returns the value you specified rather than a coerced value if multiple high-pass filters are used during the acquisition.
    Public methodSetTemperatureReadInterval Sets the minimum time difference between temperature sensor readings. This value is expressed in seconds.
    Public methodSetThermalCorrectionHeadroomRange Sets the expected thermal operating range of the instrument from the self-calibration temperature returned from the GetDeviceTemperature(String, Double) method. This value is expressed in degree Celsius.
    Public methodSetThermalCorrectionTemperatureResolution Sets the temperature change required before RFmx recalculates the thermal correction settings when entering the running state. This value is expressed in degree Celsius.
    Public methodSetTriggerExportOutputTerminal Sets the destination terminal for the exported Reference Trigger. You can also choose not to export any signal.
    Public methodSetTuningSpeed Makes tradeoffs between tuning speed and phase noise.
    Public methodToStringReturns a string that represents the current object.
    (Inherited from Object)
    Public methodWaitForAcquisitionComplete Waits and blocks the data flow until the acquisition is complete. This method is typically called after a specific initiate method.
    Top

    Remarks

    For more information about RFmx Instruments, refer to RFmx Instruments Help.

    See Also

    Log in to get a better experience