658717
74
Zoom out
Zoom in
Previous page
1/102
Next page
72
le content is valid:
Depth 67 C1
Lo 2.5 On
Note: Ensure that the Fastnet function number (C1 in the example) is output in either xmenu.d or usermenu.d, if it is
not present then the function will not be available on a display, so cannot be cancelled via display.
Advanced Alarms
Use of Javascript
Advanced users can use Javascript to construct more complex alarm criteria.
The JavaScript can be used for dening complex alarm conditions for each ‘High’ and ‘Low’ condition. The
JavaScript must return a Boolean ‘true or false’ to indicate if the alarm condition passes or fails. A value of false
indicates the alarm should be raised. The JavaScript has read access to all the variables dened in bg_vars.d in its
evaluation.
A JavaScript le is referenced from the .alm le in the following format:
TWS 17 55
HI –script highwind.js ON
Where:
-script highwind.js References the JavaScript ‘highwind.js stored in the Scripts directory.
Hi High Alarm
On Alarm enabled. If OFF the alarms is disabled and the JavaScript is not evaluated.
var TWA = bgvars.value(16);
//Dene variable TWA and Get latest value from bg_vars
var TWS = bgvars.value(17);
//Dene variable TWS and Get latest value from bg_vars
TWA = Math.abs(TWA);
//Absolute value of TWA to deal with –ve value for port
if( (TWS > 20) && (TWA > 150) ) //Condition
return false; //FAIL - Raise the alarm
else
return true; //PASS - Alarm Passes.
74


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for BandG WTP3 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of BandG WTP3 in the language / languages: English as an attachment in your email.

The manual is 7,24 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info