7.1.10.4 StopTask

The StopTask Method stops of the execution of the task.

Optional, as instruments may not support aborting the task via a method call. The same effect can be achieved by means of a device-specific control.

It includes 2 optional input parameters: MaintenanceTaskStopResult and Comment to document the outcome of the maintenance task.

Upon successful execution of the Stop Method, the MaintenanceState shall be changed to Finished and an accompanying event shall be raised. Also, the ActiveState and AckState properties are set to “False”.

The signature of this Method is specified below. Table 54 and Table 55 specify the Arguments and AddressSpace representation, respectively.

Signature

	StopTask (
		[in]	MaintenanceTaskResultEnum	MaintenanceTaskStopResult,
		[in]	LocalizedText	Comment)
Table 54 – StopTask Method Arguments
Argument Description
MaintenanceTaskStopResultGive the reason why the task is stopped.
CommentAdd an additional comment to describe the call
Table 55 – StopTask Method AddressSpace Definition
Attribute Value
BrowseNameStopTask
References Node Class BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[]0:PropertyType0:Mandatory