Please enable JavaScript to view this site.

Function that allows messages with USV user string parameters to be added directly to the alarm history.

Syntax

i32 ah_log_us (i32 nAl [, par1=0] [, par2=0] [, par3=0])

nAl

Alarm number. Must be within the message validity range (10000-:-11999)

s1

User string to be passed as the first parameter. (optional, default 0)

s2

User string to be passed as the second parameter. (optional, default 0)

s3

User string to be passed as the third parameter. (optional, default 0)

Result

Returns:

Value

Description

0

Result OK

101

The alarm number is not in the expected range. In this case, alarm 9900 illegal Arg A:1 is generated

103

Alarm manager not active

Validity

Rule, Task

System Requirements

From RTE 34.30.0

Note


 

  

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