NI-SCOPE .NET Class Library Help

Table of Contents

NIScope Constructor (String, Boolean, Boolean, String)

  • Updated2023-09-06
  • 2 minute(s) read
NIScope Constructor (String, Boolean, Boolean, String)

NIScope Constructor (String, Boolean, Boolean, String)

Initializes an instance of the NIScope class.

Namespace:  NationalInstruments.ModularInstruments.NIScope
Assembly:  NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023

Syntax

public NIScope(
	string resourceName,
	bool idQuery,
	bool resetDevice,
	string optionString
)
Public Sub New ( 
	resourceName As String,
	idQuery As Boolean,
	resetDevice As Boolean,
	optionString As String
)

Parameters

resourceName
Type: SystemString
The name of the instrument(s) to which the session is opened.
idQuery
Type: SystemBoolean
A value indicating whether you want the driver to perform an ID query. if the driver performs an ID query; otherwise .
resetDevice
Type: SystemBoolean
A value indicating whether you want to reset an instrument during the initialization procedure. if the instrument is reset; otherwise .
optionString
Type: SystemString
Sets the initial state of the following session properties: RangeCheck, QueryInstrumentStatus, Cache, Simulate. For more information on the format of optionString, refer to the NI High-Speed Digitizers Help.

Remarks

resourceName accepts a comma-delimited list of strings in the form PXI1Slot3,PXI1Slot4, where PXI1Slot3 is one instrument resource name and PXI1Slot4 is another.
Note Note
You can only specify multiple instruments of identical model numbers, bus types, channel counts, and onboard memory sizes. The instruments must be in the same chassis.

See Also

Log in to get a better experience