NIRfsg Namespace

Table of Contents

NIRfsg(String, Boolean, Boolean, String) Constructor

  • Updated2025-05-22
  • 1 minute(s) read
NIRfsg(String, Boolean, Boolean, String) Constructor

NIRfsg(String, Boolean, Boolean, String) Constructor

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

Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx45 (in NationalInstruments.ModularInstruments.NIRfsg.Fx45.dll) Version: 2025

Syntax

public NIRfsg(
	string resourceName,
	bool idQuery,
	bool reset,
	string optionString
)
Public Sub New ( 
	resourceName As String,
	idQuery As Boolean,
	reset As Boolean,
	optionString As String
)

Parameters

resourceName  String
Specifies the name of the device in which the session is opened.
idQuery  Boolean
Specifies whether you want NI-RFSG to perform an ID query. if NI-RFSG performs an ID query; otherwise .
reset  Boolean
Specifies whether you want to reset the NI-RFSG device during the initialization procedure. if the device is reset; otherwise .
optionString  String
Sets the initial state of the following session properties: RangeCheck, QueryInstrumentStatus, Cache, Simulate, RecordCoercions.

For more information on the format of optionString, refer to the NI RF Signal Generators Help.

See Also

Log in to get a better experience