Guntermann & Drunck DVICenter DP16 Configuration and Operation User Manual

Page 142

Advertising
background image

Controlling the matrix switch via XML

134 · G&D DVICenter

By stating the desired monitoring value, you can limit the list even further.

This is an exemplary response of the XML service:

You can list several device class tags within the XML tag

<monitor>

:

REQUESTING MONITORING VALUE »TEMPERATURE SWITCH« OF MATRIX SWITCH

0X11111111

<?xml version="1.0" encoding="utf-8"?>

<root>

<monitor>

<DviMatrixSwitch>

<id>0x11111111</id>

<monitorName>Temperature switch</monitorName>

</DviMatrixSwitch>

</monitor>

</root>

LIST OF MONITORING VALUES OF MATRIX SWITCHES

<?xml version="1.0" encoding="utf-8"?>

<root>

<result type="monitor">

<DviMatrixSwitch>

<item>

<id>0x11111111</id>

<monitorName>Temperature switch</monitorName>

<value>35.0</value>

<alarm>off</alarm>

<acknowledged>no</acknowledged>

</item>

</DviMatrixSwitch>

</result>

</root>

NOTE:

In addition to name and value of the respective monitoring value, the two

flags

acknowledged

and

alarm

are always returned as well. With the

alarm

flags, you

can check if the monitoring value lies inside (

off

) or outside (

on

) of its defined

range.

Acknowledged

complies with the Viewed function of the web application.

REQUESTING MONITORING VALUES OF ALL TARGET MODULES AND USER MODULES

<?xml version="1.0" encoding="utf-8"?>

<root>

<monitor>

<DviCpu />

<DviCon />

</monitor>

</root>

Advertising