IWorksAsyncDriver interface : Asynchronous Task Command XML block components

Asynchronous Task Command XML block components
VWorks software passes an Asynchronous Task Command XML block into the AsyncXML parameter of the Abort, Ignore, and Retry methods. The following table lists the XML components that are contained in this XML block for each method. The elements and attributes are described in the sections that follow. You can click an element name to jump to the appropriate section.
The elements and attributes preceded by an asterisk are of interest to an implementer of the IWorksAsyncDriver interface.
 
Element name
Attribute name
Abort — terminate a specific task
Abort — terminate all executing tasks
(multiple)
Command element
The Command element contains one Parameters element, one Locations element, and one AsyncParameters element. The Command element has the following attributes.
 
*Name
If the protocol has been saved, the value of this attribute is the protocol’s file path. If the protocol has not been saved, the value is the default protocol name.
Parameters element
The Parameters element contains one or more Parameter elements.
Parameter element
The Parameter element can contain one Ranges element and has the following attributes:
 
*Name
*Value
Ranges element
The Ranges element contains one or more Range elements.
Range element
The Range element has the following attribute:
 
Locations element
The Locations element contains one of more Value elements.
Value element
The Value element contains the following attribute:
 
AsyncParameters element
The AsyncParameters element contains five AsyncParameter elements.
AsyncParameter element
Each AsyncParameter element has one of the following pairs of Name and Value attributes:
 
The value Async_TaskVWorksID.
The task ID of the asynchronous task, which is automatically generated by VWorks software and used by VWorks software to identify and manage all asynchronous tasks from all plugins.
Note: The AsyncParameters element contains two Async_TaskVWorksID elements.
The value Async_ErrorDescription.
The value Async_TaskID.
The task ID of the asynchronous task, which is generated by the plugin and used by the plugin to identify and manage its asynchronous tasks.
The value Async_Location.