WaitUntilDone(PrecisionTimeSpan)
- Updated2025-10-07
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| timeout | PrecisionTimeSpan | Specifies the amount of time, in seconds, that the WaitUntilDone method waits for the sessions to complete. |
Exceptions
| Type | Description |
|---|---|
| NationalInstruments.ModularInstruments.ModularInstrumentsException | The underlying driver returned an error. |