CLEAR.EVENT program instruction CLEAR.EVENT program instruction Syntax CLEAR.EVENT task, flag Function Clear an event associated with the specified task. Parameters task Optional real value, variable, or expression (interpreted as an integer) that specifies the task for which the event is to be cleared. The valid range is 0 to 6 or 0 to 27, inclusive. If this parameter is omitted, the number of the current task is used. NOTE: The basic system allows 7 tasks (0 - 6). The eV+ Extensions option allows 28 tasks (0 - 27). flag Not used, defaults to 1. Details This instruction clears the event associated with the specified task.
The default event cleared is the input/output completion event for which the instruction WAIT.EVENT 1 waits. This event is also cleared by the execution (not the completion) of an input/output instruction. Related Keywords GET.EVENT real-valued function SET.EVENT program instruction WAIT.EVENT program instruction eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 122