Waits until the acquisitions and/or generations corresponding to sessions are done, or until the VI returns a timeout error.

The niTClk Wait Until Done VI is a blocking VI that periodically checks the operation status. This VI returns control to the program if the operation completes successfully, or if an error occurs (including a timeout error). This VI is most useful for finite data operations that you want to complete within a certain time.


icon

Inputs/Outputs

  • c1dgenclassrn.png sessions

    sessions specifies the array of session references that are being synchronized. Obtain session references from the instrument driver by using the <driver name> Get Session Reference VI, where <driver name> is the name of the instrument driver, for example, the niScope Get Session Reference VI.

  • cdbl.png timeout (seconds)

    timeout (seconds) specifies the amount of time, in seconds, that the niTClk Wait Until Done VI waits for the sessions to complete. If the timeout (seconds) parameter is exceeded, the niTClk Wait Until Done VI returns an error.

  • cerrcodeclst.png error in (no error)

    error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • i1dgenclassrn.png sessions out

    sessions out passes the array of session references to the next VI.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.