4 Transmitter
26
Interface
The communication takes place according to the client/server
principle, whereby the Ethernet module takes on the role of the
server:
The XML interface will be approached via a URL. The URL consists
of the IP address of the Ethernet module, the path for the XML
document and, depending on the URL, with a clearly defined
parameter. If a parameter is missing or an incorrect value is
transferred, the Ethernet module sends back a simple error
message.
Example:
IP address = 254.169.100.100
URL for serialnumber.xml:
http://254.169.100.100/data/getserialnumber
If a parameter is required, a "?" is always in the first place after the
URL, then the parameter is transferred to the common query string
form
(name=value).
Example:
IP address = 254.169.100.100
URL for / identification.xml:
http://254.169.100.100/config/getidentification?param=0 (compare
table xml codes)
After calling up the compound URL, if everything was correct, an
XML document is returned. With faulty parameters a simple
HTML answer comes that points out the reason that an XML
answer could not be given.
If an XML document is to be loaded on the server, access is
provided by means of a POST request
Example of an upload via the program wget:
IP address = 254.169.100.100
URL for / usersettings.xml:
Path details of the folder in which
the wget program is located
Command
Path details of the
folder in which the
usersettings XML file is
located
IP address of the transmitter
and required URL (see table on
the next page)
H:/wget/wget-complete-stable /wget
--post-file=
C:/usersettings.xml
254.169.100.100/config/
setusersettings
The Ethernet module supports reading out of
• Readings
• Instrument type (testo 6383)
• Firmware date and version (testo 6383)
• Status and status messages (testo 6383)
Содержание 6383
Страница 2: ...2 ...
Страница 12: ...4 Transmitter 12 4 1 5 Dimensions ...
Страница 39: ...4 Transmitter 39 4 4 4 Overview of the testo 6383 user menu ...
Страница 40: ...4 Transmitter 40 ...
Страница 87: ...6 Tips and assistance 87 ...
Страница 88: ...0970 6386 en 02 V01 12 V01 70 1 en ...