Multiple Logs On One Page - Usl LSS-100P Installation And Operation Manual

Table of Contents

Advertisement

Multiple Logs on One Page

It may be desirable to have a single web page that includes the logs from multiple LSS-100P units (for
example, all the auditoriums in a particular theater). This can be accomplished using HTML iframes
(inline frames). Sample code to include multiple LSS-100P log pages is shown below. This code can be
placed on the computer the browser is running on or on a local web server.
<!doctype html>
<html>
<head>
<title>Obispo LSS-100 Summary</title>
</head>
<body>
<h1 align="center">Obispo LSS-100 Summary</title
<iframe seamless frameborder="0" src="http://192.168.6.55/log.cgi?n=20&GuiTz=-
25200&GuiTzName=Pacific%20Standard%20Time&DST=1" width="100%"
height="700"></iframe><br />
<iframe seamless frameborder="0" src="http://192.168.6.110/log.cgi?n=20&GuiTz=-
25200&GuiTzName=Pacific%20Standard%20Time&DST=1" width="100%" height="700"></iframe>
</body>
</html>
The iframe does a "client side include" of multiple web pages. The attributes of the iframe tag are
described below.
The seamless and frameborder="0" attributes merge the fetched log pages into the resulting page with
no frame borders so it appears to be one page.
The src attribute contains the URL of the log to be inserted at this point. It is simplest to connect to the
LSS-100P home page, click log, then copy the resulting URL for use here with the changes listed below.
Delete the "rn=xx&" from the URL. rn holds the first record number to be displayed. The next part of the
URL ("n=100") indicates how many records will be shown. If rn is deleted, the LSS-100P shows the n
most recent records. By deleting rn from the URL in the iframe, your page will always show the most
recent log entries.
Change "n=100" to "n=20" or some other number indicating the number of log entries you want shown
on this combined log page. If you do a daily log review, you may want to show three days worth of log
entries to ensure data from weekends is reviewed.
v160817
LSS−100P Installation & Operation Manual
Figure 14 – Graph Generation from LSS-100P CSV Data
19

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Usl LSS-100P

Table of Contents