WaitUntilDone 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


Waits until the device is done generating or until the maximum time has expired.

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 WaitUntilDone ( _
	maxTime As TimeSpan _
)

C#
public void WaitUntilDone(
	TimeSpan maxTime
)

Parameters

maxTime
Type: System..::.TimeSpan
The timeout value in milliseconds.

Exceptions

ExceptionCondition
Ivi.Driver.IviCDriverException The underlying NI-FGEN driver returned an error.
Ivi.Driver.MaxTimeExceededException The operation initiated by InitiateGeneration did not complete within the time specified by maxTime.
ObjectDisposedException WaitUntilDone was called after the associated NIFgen or FgenDriverUtility object was disposed.

Remarks

Call this method after calling InitiateGeneration.

See Also

Reference

NIFgen Class

NationalInstruments.ModularInstruments.NIFgen Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful