![]() |
VWorks software calls the Ignore method as follows:
1 The plugin calls the ErrorAbortRetryIgnoreNonBlocking update to notify VWorks software that an error occurred and to provide a literal string that describes the error.
2 VWorks software does the following:
• The Abort, Ignore and Continue…, Retry, and Diagnostics buttonsThe figure on page 41 shows a standard error dialog box.
3 If the user clicks the Ignore and Continue… button, VWorks software calls the Ignore method to tell the plugin to ignore the error.The plugin should continue the task, if possible, or exit the task if continuing would be dangerous or impossible. A call to the Ignore method should not cause an unsafe condition, which could result in a new error or a premature completion of the task.If all errors encountered during an asynchronous task are ignored, the system should be able to continue as if the failing step was skipped.
[in] An Asynchronous Task Command XML block that identifies the asynchronous task and describes the error that occurred. 0 = The request was completed (RETURN_SUCCESS)1 = Something was wrong with the input, so the request was not completed (RETURN_BAD_ARGS)2 = The request was not completed (RETURN_FAIL)VWorks software passes an Asynchronous Task Command XML block into the AsyncXML parameter of the Ignore method.The Asynchronous Task Command XML block contains the Command element and an AsyncParameters child element and all its children. This XML block identifies the asynchronous task to be ignored and describes the error that occurred.
The following code is an Asynchronous Task Command XML block received by the plugin from VWorks software as a string in the AsyncXML parameter of the Ignore method. VWorks software tells the plugin to ignore the error that occurred at the location named Location during the asynchronous task named MakeLocationAvailable, whose plugin-generated task ID is 1.
<Command Compiler='0' Editor='0' Name='MakeLocationAvailable' NextTaskToExecute='1' RequiresRefresh='0' TaskRequiresLocation='1'→VisibleAvailability='1' Description='MakeLocationAvailable'→ProtocolName='Protocol File - 1.pro'>→Value='No response received from the pipette controller. It is recommended that you→click Retry. Ignoring this error may result in an unpredictable move.' />
Abort method (IWorksAsyncDriver interface) Retry method (IWorksAsyncDriver interface)