Please enable JavaScript to view this site.

This function allows you to delete, all or one in particular, alarms from the alarm stack.

Syntax

bool alarm_reset ([i32 nAl=0] [, i32 nAx=0])

nAl

Alarm number (1-:-9999). (optional, default 0)

nAx

Number of the axis in alarm (1-:-32). (optional, default 0)

Result

Returns:

Value

Description

TRUE

Alarm reset

FALSE

Illegal parameters detected

Validity

Rule, Task

Note

Reset operation involves:

clearing the alarm in the stack (if present) and any compaction

resetting of the alarm bit in theAM

initialization of the filter time to access the alarm history(ah_filter_time())

adjustment of the predefined variables al_pres(), al_stack_mask() and ax_in_alarm() (if necessary)

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC