RFmx Instr DotNET

Table of Contents

RFmxInstrMX.GetSession(String, String) Method

  • Updated2024-07-17
  • 1 minute(s) read
RFmxInstrMX.GetSession(String, String) Method

RFmxInstrMXGetSession(String, String) Method

Gets a session, if it exists for given resource name; else, returns a new one.

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 static RFmxInstrMX GetSession(
	string resourceName,
	string optionString
)
Public Shared Function GetSession ( 
	resourceName As String,
	optionString As String
) As RFmxInstrMX

Parameters

resourceName  String
Specifies the resource name of the device to initialize.
optionString  String
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 NI 5622 (25 MHz) digitizer, set the Digitizer field to 5622_25MHz_DDC and the Simulate field to 1 You can set the Digitizerfield to 5622_25MHz_DDC only when using the NI 5665. To use AnalysisOnly mode, specify the string as "AnalysisOnly=1". In this mode, user is responsible for waveform acquisition and RFmx driver will perform analysis on user specified IQ waveform or Spectrum. Use personality specific Analyze functions to perform measurements. To set multiple attributes, separate their assignments with a comma.

Return Value

RFmxInstrMX
Returns an object of type RFmxInstrMX.

See Also

Log in to get a better experience