NIFgen Constructor (IntPtr)

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. Initializes a signal generator driver session from an existing signal generator handle.

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 ( _
	instrumentHandle As IntPtr _
)

C#
public NIFgen(
	IntPtr instrumentHandle
)

Parameters

instrumentHandle
Type: System..::.IntPtr
A pointer to an existing signal generator handle.

Exceptions

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

- or -

This signal generator handle does not belong to a NIFgen session.

See Also

Reference

NIFgen Class

NationalInstruments.ModularInstruments.NIFgen Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful