User manual

Table Of Contents
Part 3: Automation Control Variable Reference
Methods
app.Quit
Closes the XStreamDSO application. User will be prompted to confirm. Until the user responds, control via
Automation is blocked.
app.Sleep([in] double timeoutMilliseconds)
Causes the main execution thread of the instrument application to sleep for the specified time period,
defined in milliseconds.
' Sleep for ten seconds
app.Sleep(10000)
WaitUntilIdle([in] double timeoutSeconds)
Waits until either the application is idle or the specified timeout expires, specified in seconds. This
evaluates to True if the application completes before the timeout expires, and to False if a timeout occurs.
When Trigger mode is Auto or Run, the application is never Idle. In this case the call to WaitUntilIdle returns
after the next acquisition and any configured processing.
' Wait with a timeout of five seconds
app.WaitUntilIdle(5)
3-5