Guntermann & Drunck IP-Control-API Benutzerhandbuch

Seite 29

Advertising
background image

Text-based control of a matrix switch

IP-Control-API · 10

The reply of the matrix switch may look like the following example:

When using other parameters, replies look like this::

LIST OF INFORMATION ABOUT A MATRIX SWITCH

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

<root>

<result type="list">

<DviMatrixSwitch>

<item>

<id>0x00000028</id>

<!-- ID of matrix switch -->

<cl>DviMatrix</cl>

<!-- Device class of matrix switch -->

<type>DVICenter DP32</type>

<!-- Variant of matrix switch -->

<name>DVIC Virtlab</name>

<!-- Name of matrix switch -->

<poweredOn>true</poweredOn>

<!-- Status of power supply -->

<pushGet>yes</pushGet>

<!-- Enabled push/get function? -->

<tradeSwitching>yes</tradeSwitching> <!-- Enabled TradeSwitch function? -->

<ipSwitching>yes</ipSwitching>

<!-- Enabled IP-Control-API -->

</item>

</DviMatrixSwitch>

</result>

</root>

LIST OF INFORMATION ABOUT A USER MODULE

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

<root>

<result type="list">

<DviConsole>

<item>

<id>0x00000117</id>

<cl>DviConsole</cl>

<type>DVI-CON</type>

<name>CON 00000117</name>

<ownerId>189</ownerId>

<ownerCl>DviMatrix</ownerCl>

<ownerPort>0</ownerPort>

<enable>1</enable>

<poweredOn>false</poweredOn>

</item>

</DviConsole>

</result>

</root>

LIST OF INFORMATION ABOUT A TARGET MODULE

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

<root>

<result type="list">

<DviCpu>

<item>

<id>0x0000008A</id>

<cl>IoCpu</cl>

<type>DVI-CPU-UC</type>

<name>UC-Test</name>

<powered_on>false</powered_on>

</item>

</DviCpu>

</result>

</root>

Advertising