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]MaintenanceTaskResultEnumMaintenanceTaskStopResult,

[in]LocalizedTextComment)

Table 54 – StopTask Method Arguments

Argument

Description

MaintenanceTaskStopResult

Give the reason why the task is stopped.

Comment

Add an additional comment to describe the call

Table 55 – StopTask Method AddressSpace Definition

Attribute

Value

BrowseName

StopTask

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

0:InputArguments

0:Argument[]

0:PropertyType

0:Mandatory