CALL clear_alarm (args[], error)  

Function

Statement execution routine for the CLEAR_ALARM statement. It is used to clear an alarm.

NOTE: The statement name is hard-coded in the routine gm.scr.spawn( ) (in the file GEMAIM.V2). That routine shows only alarms in the scrolling pick list for the statement argument.

Usage Considerations

Runtime Control Robot Vision

Syntax

	CLEAR_ALARM --gemitem-- 
 

Input Parameters

args[ ]

Real array containing the arguments for this statement (record numbers or constants). The individual elements are described below:

--gemitem-- 

   args[1]

Record number of an Alarm record in the GEM Items database.

Output Parameter

error

Real variable that receives a value indicating whether or not the operation was successful and what action should be taken by the calling routine. See the standard AIM operator error response code values for details.

Details

This statement sends a clear alarm message to the host. When this routine is executing, it temporarily locks access to the GEM Items database.

For details on alarm management, see Alarm Management. Refer to Structure of the GEM Items Database  for details on the structure of the Alarm record type.

File: GEMSTMT.SQU/V2

Statement DB: STATGEM.DB