Query String - Extron electronics IPL T S Series User Manual

Ip link ethernet control interfaces
Hide thumbs Also See for IPL T S Series:
Table of Contents

Advertisement

Communication and Control, cont'd
<!--#echo var="
Figure 4-2 — Example of an SSI "remote" command
In the example above, a "remote" serial command sends the word "Hello" and
waits up to 50 ms for a response (until three characters are received). For more
information on this command, refer to the "Command/response table for Simple
Instruction Set (SIS) commands", earlier in this chapter.
Query string
A query string is the portion of a URL that appears after the question mark. The
query string contains parameters or instructions for the Web server to execute.
The basic format for a query string within a link is:
<a href="index.html?cmd=x">Input #1</a>
Where x is the SIS command to be executed.
When a link is accessed on a Web page, the URL is passed to the Web server to tell it
which Web page to return to the browser. The portion of the URL after the question
mark is the query string, which contains the SIS command that the IPL T S interface
removes and executes.
As with SSI formatted commands, query strings can use any valid SIS command—
either "host" or "remote".
The query string in the figure below turns off DHCP on the IP Link device.
<a href="index.html ?
Figure 4-3 — Example of a host query string command
<a href="index.html ?
Figure 4-4 — Example of a remote query string command
In the figure above, the data string that follows the pipe ( | ) symbol is sent to the
attached controlled device on serial port #2. This string instructs an attached
Extron switcher to change to input #1.
4-20
IPL T S Series • Communication and Control
Server Side Include Using a Remote SIS command
W
1 *
50
*
3
Delimiter
Port
Time to
Time
Number
wait for
between
first character
characters
of response
in response
URL with a Query String using a Host SIS command
cmd=
Starts
HTML code
Tells Web server

Query String

for a link
an SIS command
follows
URL with a Query String using a Remote SIS command
cmd=
W
2
Starts
Delimiter
HTML code
Tells Web
Port
Query String
for a link
server an
Number
SIS command
follows
SIS Command
*
3L
RS
Hello
Delimiter
Length or
Command
Data to be
Delimiter
passed to
external device
parameter
via a serial port
SIS Command
Elements
*Type with no spaces.
SIS Command
W0DH|
">
DHCP off
</a>
SIS command
HTML code
Linked Text
Closes
to be processed
for a link
Link
by the IP Link
*Type with no spaces.
SIS Command
RS
">
Input #1
1!
Delimiter
Command
HTML
Linked
Data to
code
Text
be passed to
for a link
external device
via a serial port
*Type with no spaces.
"-->
</a>
Closes
Link

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ipl t s1Ipl t s2Ipl t s4Ipl t s6

Table of Contents