niTClk Wait Until Done
Call this VI to pause execution of your program until the acquisitions and/or generations corresponding to sessions are done or until the function returns a timeout error.
niTClk Wait Until Done is a blocking VI that periodically checks the operation status. It returns control to the calling program if the operation completes successfully or an error occurs (including a timeout error).
This VI is most useful for finite data operations that you expect to complete within a certain time.
sessions is an array of session references that are being synchronized.
You obtain session references from the instrument driver by using <driver name> Get Session Reference VI, where <driver name> is the name of the instrument driver—for example, the niScope Get Session Reference VI. |
|||||||
timeout is the amount of time in seconds that the niTClk Wait Until Done VI waits for the sessions to complete. If timeout is exceeded, the niTClk Wait Until Done VI returns an error. | |||||||
error in describes error conditions that occur before this VI or function runs.
| |||||||
sessions out passes the array of session references to the next VI. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
|