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

In this example the
Server Side Include Using a Remote SIS command
<!--#echo var="
Figure 36.
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 (see the

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.
URL with a Query String using a Host SIS command
<a href="index.html ?
HTML code
for a link
Figure 37.
URL with a Query String using a Remote SIS command
<a href="index.html ?
HTML code
for a link
Figure 38.
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.
command is used to request the IPL T S product part number.
N
SIS Command
W
1 *
50
*
3
*
3L
RS
Delimiter
Port
Length or
Command
Time to
Time
Number
wait for
between
Delimiter
first character
characters
parameter
of response
in response
SIS Command
Elements
Example of an SSI Remote Command
Command and Response Table
SIS Command
cmd=
W0DH|
Starts
Tells Web server
SIS command
Query String
an SIS command
to be processed
follows
by the IP Link
Example of a Host Query String Command
SIS Command
cmd=
W
2
RS
Starts
Delimiter
Delimiter
Tells Web
Port
Command
Query String
server an
Number
be passed to
SIS command
external device
follows
via a serial port
Example of a Remote Query String Command
"-->
Hello
Delimiter
Data to be
passed to
external device
via a serial port
*Type with no spaces.
on page 30).
">
DHCP off
</a>
HTML code
Linked Text
Closes
for a link
Link
*Type with no spaces.
">
Input #1
</a>
1!
HTML
Closes
Linked
Data to
code
Text
Link
for a link
*Type with no spaces.
IPL T S Series • Communication and Control
44

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ipl t s1Ipl t s2Ipl t s4Ipl t s6

Table of Contents