![]() |
After the scheduler is paused, VWorks software calls the ProtocolPaused method to notify the plugin of the state of the scheduler.
[in] A ProtocolPaused XML element that contains the state of the scheduler when VWorks software called this method. VWorks software passes a ProtocolPaused XML element into the xXML parameter of the ProtocolPaused method. This XML element provides the state of the scheduler when VWorks software called the ProtocolPaused method.The ProtocolPaused element has the following attribute:
0 = Paused. The scheduler is paused, so protocols have temporarily stopped running.1 = Continued. The scheduler is now running the previously paused protocols.2 = Aborted. The scheduler is about to abort the currently running protocols.The following sample code is a ProtocolPaused XML element that is received by the plugin from VWorks software as a string in the xXML parameter of the ProtocolPaused method. VWorks software tells the plugin that the scheduler is paused, so protocols have temporarily stopped running.
The plugin returns a HookResults XML block in the sResultXML parameter of the ProtocolPaused method. For information about the structure and contents of this XML block, see “HookResults XML block” .The following sample code is a HookResults XML block that is returned to VWorks software by the plugin as a string in the sResultXML parameter of the ProtocolPaused method. The plugin tells VWorks software to write the following Info-type message to the Main Log:
→ResultValue='The scheduler is paused.' />