Herunterladen Inhalt Inhalt Diese Seite drucken

Appendix; Required Ports; Xml-Rpc Interface; Sample Xml-Rpc Command - IFM Electronic O3D301 Bedienungsanleitung

3d kamera
Vorschau ausblenden Andere Handbücher für O3D301:
Inhaltsverzeichnis

Werbung

3D Kamera

13. Appendix

13.1 Required Ports

The following ports are required for the camera configuration using XML-RPC and for receiving data on
the process interface. They must not be blocked by a firewall or router.
● TCP/HTTP: 80
● TCP: 50010
If the ifm Vision Assistant is used, the following additional ports must also be available:
● UDP: 3321
● TCP/HTTP: 8080
It is possible to configure another port than 50010 for the process interface. If a different port is used, it
must not be blocked either.

13.2 XML-RPC Interface

In case the O3D3xx camera should not be configured by the "ifmVisionAssistant", the XML-RPC interface
can be used instead.
General information about XML-RPC is found on the website http://xmlrpc.scripting.com/spec
To send a command via the XML-RPC interface the command is in a special layout. In this command,
linefeeds and carriage returns are essential.
Every command which is sent via the XML-RPC interface must end with carriage return <CR> and
linefeed <LF>.
Several commands will use different URLs in the XML-RPC header.

13.2.1 Sample XML-RPC command

All following XML-RPC commands will have this type of layout:
POST /RPC3 HTTP/1.0<CR><LF>
User-Agent: Frontier/5.1.2 (WinNT)<CR><LF>
Host: betty.userland.com<CR><LF>
Content-Type: text/xml<CR><LF>
Content-length: 181<CR><LF>
<CR><LF>
<?xml version="1.0"?><CR><LF>
<methodCall><CR><LF>
<methodName>examples.getStateName</methodName><CR><LF>
<params><CR><LF>
<param><CR><LF>
<value><i4>41</i4></value><CR><LF>
</param><CR><LF>
</params><CR><LF>
</methodCall><CR><LF>
18

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

O3d311O3d303O3d313

Inhaltsverzeichnis