InitiateGeneration Method

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


Initiates signal generation.

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 InitiateGeneration

C#
public void InitiateGeneration()

Implements

IIviFgen..::.InitiateGeneration()()()

Exceptions

ExceptionCondition
Ivi.Driver.IviCDriverException The underlying NI-FGEN driver returned an error.
InvalidOperationException No waveforms have been created before calling this method.

- or -

The size of the streaming waveform is too small.
ObjectDisposedException InitiateGeneration was called after the associated NIFgen or FgenDriverUtility object was disposed.

Remarks

If you want to abort signal generation, call AbortGeneration. After the signal generation is aborted, you can call InitiateGeneration to cause the signal generator to produce a signal again.

See Also

Reference

NIFgen Class

NationalInstruments.ModularInstruments.NIFgen Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful