Toshiba SG20 - Magnia - Web Server Customization Manual page 39

General customization guide
Hide thumbs Also See for SG20 - Magnia - Web Server:
Table of Contents

Advertisement

Customization
newmsg.desc=Acme Application Messages
newmsg.name=ACME
newmsg.readonly=0
newmsg.hidden=0
newmsg.msgup=-center "Acme App" –center "Running"
newmsg.msgdown=-center "Acme App" –center "Not Running"
newmsg.msgalert=-ontop -center "Acme App" –center "%s Error"
newmsg.msgmail=-ontop -onetime –center "Acme App" –center "Check Mail"
See
LCD message display options
fields and their operation.
3
Add a Perl script to your application that invokes the messages defined in your LCD
message definition file. The script should incorporate the appropriate ShowMsg call
to display a message. An example program follows:
use SA;
use SA::LCD::Disp;
my $objDisp = SA::LCD::Disp->new();
$objDisp->ShowMsg("newmsg.msgmail");
exit(0);
This script places the message "Acme App" and "Check Mail" on the first and
second lines of the LCD panel.
To display an LCD message that incorporates dynamic text, such as the
newmsg.msgalert LCD message in Step 2, use the following:
$objDisp->ShowMsg("newmsg.msgalert", "Download");
4
To complete the configuration process for the new message, execute the mod_lcd
trigger. This trigger regenerates the LCD configuration files and informs the
LCDKBD daemon that it should refresh its message list.
trigger mod_lcd
The execution of this trigger is only necessary when you have made a change to the
LCD message list.
on page 40 for more information about these
LCD panel customization
39

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SG20 - Magnia - Web Server and is the answer not in the manual?

Questions and answers

Table of Contents