[General Functions]
Description
Turns off the text display in the bank, which is an integer value between 0 and 15, and turns off all Alarms when no quotes are passed or when the value is -1.
Syntax
void deleteAlarmBanner(int bank = -1);
Parameters
[in] bank
The number of groups of alarm banners, from 0 to 15. All alarms will be turned off if no quotes are passed or value is -1.
Return
None.
Example
#include "myhmi.h"
void setup() {
Hmi.begin();
// put your setup code here, to run once:
}
void loop() {
if (Hmi.getToggleButtonState(p2tb1)) {
Hmi.showAlarmBanner("This is a test.");
} else {
Hmi.deleteAlarmBanner();
}
// ...
}Please see the 86HMI Editor User Manual for more instructions on 86HMI widgets and API usage.