NIFgen Constructor (String, Boolean, Boolean)

NI Signal Generators Help (NI-FGEN 18.1)

Edition Date: April 2018

Part Number: 370524V-01

»View Product Info
Download Help (Windows Only)

NIFgen Class See Also


Initializes a new instance of the NIFgen class.

Namespace: NationalInstruments.ModularInstruments.NIFgen

Assembly: NationalInstruments.ModularInstruments.NIFgen.Fx40 (in NationalInstruments.ModularInstruments.NIFgen.Fx40.dll) Version: 18.1.0.4 (18.1.0.4)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	resourceName As String, _
	idQuery As Boolean, _
	reset As Boolean _
)

C#
public NIFgen(
	string resourceName,
	bool idQuery,
	bool reset
)

Parameters

resourceName
Type: System..::.String
The resource name assigned by Measurement Automation Explorer (MAX) to a signal generator instrument; for example, PXI1Slot3, where PXI1Slot3 is an instrument resource name. The resourceName can also be a logical IVI name.
idQuery
Type: System..::.Boolean
true (True in Visual Basic) to verify that the instrument you initialize is supported by the NI-FGEN driver software. The NI-FGEN driver performs verification regardless of the value of this parameter.
reset
Type: System..::.Boolean
true (True in Visual Basic) to reset the signal generator instrument to a known state when the session is initialized.

Exceptions

ExceptionCondition
Ivi.Driver.IviCDriverException The underlying NI-FGEN driver returned an error.
ArgumentExceptionThe value for resourceName is invalid.

See Also

Reference

NIFgen Class

NationalInstruments.ModularInstruments.NIFgen Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful