beautypg.com

Code examples, Example 1, Code.examples -21 – Extron Electronics IPL T S Series User Guide User Manual

Page 61: Example.1 -21

background image

4-21

IPL T S Series • Communication and Control

Code examples

This section shows practical uses for both SSIs and query strings.

Example 1

In the figure below, both host SSI and remote SSI commands are used within the

same Web page. You will notice six SSIs: three host commands and three remote

commands.


Example 1

HTML Example #1



The following lines demonstrate how to read status from the IPLink Product:


IPLink Product Name:



IPLink Product Description:



IPLink Product Part Number:





This example requires an Extron Crosspoint 84HVA connected to IPL T S2
serial port #1.


Part Number:



Connection Info:



Firmware Version:


"host" SSI
commands

"remote" SSI
commands

Figure 4-5 — Web page HTML source code document showing Server
Side Includes
The host SSI commands in the figure above request the product name, product

description, and product part number of an IPL T S interface. The remote SSI

commands request the part number, connection information and firmware version

of an attached serial device.


Example 1

HTML Example #1



The following lines demonstrate how to read status from the IPLink Product:


IPLink Product Name:

IPL T S2



IPLink Product Description:

Two Bi-Directional Serial Ports

[RS232/422/485]


IPLink Product Part Number:

60-544-81





This example requires an Extron Crosspoint 84HVA connected to IPL T S2 serial
port #1.


Part Number:

N60-337-01%0D%0A



Connection Info:

V08X04 A08X04 Exe0%0D%0A



Firmware Version:

Ver2.02%0D%0A


Figure 4-6a — Resulting HTML source code served by an IP Link Web
server

In figure 4-6a, the commands executed by the IPL T S2 in response to SSI references

have been replied to, and were implemented when the Web page was served to the

browser.