Host Timing Considerations

When you customize a viewer, your code must accommodate potential host processing delays for wait-dependent operations. For such operations, your code must detect when the host finishes processing and is ready to receive more commands. Sending additional input before the host is ready will result in an error.

To allow you to reliably program for wait-dependent operations, the Viewer API includes a variety of wait-related methods. Although all of these methods enable you to determine when the host is ready for input, each addresses a specific timing-sensitive situation.

Depending on the host processing situation, some wait methods are better than others to determine when the host is ready for input. Below is a description of the Viewer API wait methods.

Related Topics
Bullet Viewer API, Overview
Bullet Capturing Data from Host Screens
Bullet IScreenAPI Interface