Delays the execution of your program until the acquisitions and generations corresponding to sessions are complete, or until the method returns a timeout error.

Syntax

Namespace: NationalInstruments.ModularInstruments.SystemServices.TimingServices

public void WaitUntilDone(PrecisionTimeSpan timeout)

Remarks

<Scopetag> For more information, refer to the NI-TClk Synchronization Help. </Scopetag>

Parameters

NameTypeDescription
timeoutPrecisionTimeSpan

Specifies the amount of time, in seconds, that the WaitUntilDone method waits for the sessions to complete.

Exceptions

TypeDescription
NationalInstruments.ModularInstruments.ModularInstrumentsException

The underlying driver returned an error.