VWorks software calls the
GetListOfAsyncTasks method to get the list of the currently executing asynchronous tasks from the plugin. The list identifies the tasks in the
Name (task ID) and
Value (location name) attributes of each
Parameter element.
VWorks software uses this list to keep track of which locations are busy and which are available.
The AsyncTaskList XML block contains the AsyncTaskList element and all its children. This XML block provides the list of asynchronous tasks that are currently executing. The tasks are identified in the
Name (task ID) and
Value (location name) attributes of each
Parameter element.
The Parameters element contains one or more
Parameter elements.
Each Parameter element contains the task ID and location name of a currently executing asynchronous task. This element has the following attributes:
The following sample code is an AsyncTaskList XML block that is returned to VWorks software by the plugin as a string in the
AsyncTaskIdLocationXML parameter of the
GetListOfAsyncTasks method. The plugin tells
VWorks software that the asynchronous tasks named
3,
11, and
21 are currently executing.