beautypg.com

Controlling the matrix switch via xml, Structure of a valid xml document, Selecting devices – Guntermann & Drunck DVICenter DP16 Configuration and Operation User Manual

Page 123: Controlling

background image

Controlling the matrix switch via XML

G&D DVICenter · 115

Controlling the matrix switch via XML

XML enables you to control digital matrix switches using third-party devices (e.g.

AMX® and Crestron®). The matrix switch uses the ethernet interface to process

any XML commands received from third-party devices.

Structure of a valid XML document

Any commands are transmitted as XML documents to the G&D device. Valid

XML documents start with an optional, standardized header. On the top level, they

are surrounded by the

tag:

Any commands you want to execute are placed between a tag that starts and ends

the document (

root

). The commands are described on page 123.

Selecting devices

As of version 1.1, the XML API lets you specify devices not only by ID, but also by

name.

Use the attribute

type

to select devices via ID (

"id"

) or via name (

"name"

). The attribute

is supported by all commands referring to devices with a name.

IMPORTANT:

Activate the additional »IP-Control-API« function to send text-based

commands.

STRUCTURE OF A VALID XML DOCUMENT

ADVICE:

The use of the

type

attribute is optional. If you do not use this attribute,

devices are identified via ID.

USING THE NAME OF A USER MODULE FOR IDENTIFICATION

CON1

JohnDoe

secret