Creates a new instrument driver session and sets the initial state of session properties.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public NIRfsa(string resourceName, bool idQuery, bool resetDevice, string optionString)

Remarks

For more information on the format of optionString, refer to the NI RF Vector Analyzer Help.

Parameters

NameTypeDescription
resourceNamestring

Specifies the name of the device in which the session is opened.

idQuerybool

Specifies whether you want NI-RFSA to perform an ID query. true if NI-RFSA performs an ID query; otherwise false.

resetDevicebool

Specifies whether you want to reset NI-RFSA during the initialization procedure. true if the device is reset; otherwise false.

optionStringstring

Sets the initial state of the following session properties: RangeCheck, QueryInstrumentStatus, Cache, Simulate.