| <!DOCTYPE html> |
| <!-- |
| Copyright (c) 2012, 2017 Profactor GmbH, fortiss GmbH |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License 2.0 which is available at |
| http://www.eclipse.org/legal/epl-2.0. |
| |
| SPDX-License-Identifier: EPL-2.0 |
| |
| Contributors: |
| Gerhard Ebenhofer, Jose Cabral |
| - initial API and implementation and/or initial documentation |
| --> |
| |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <title>Development - Monitoring</title> |
| <link rel="stylesheet" type="text/css" href="../help.css"> |
| </head> |
| |
| <body> |
| |
| <h1 id="topOfPage">Monitoring</h1> |
| <p>DTD will be added, after finishing all the implementation work and the interface for all commands is stable. Currently the following monitoring commands are supported:</p> |
| |
| <ul> |
| <li>AddWatch: where {0} is an id, {1} will be replaced with FB-Instance-Name.Portname and {2} is '*' |
| <div class="code"><Request ID="{0}" Action="CREATE"><Watch Source="{1}" Destination="{2}" /></Request></div> |
| </li> |
| <li>DeleteWatch: where {0} is an id, {1} will be replaced with FB-Instance-Name.Portname and {2} is '*' |
| <div class="code"><Request ID="{0}" Action="DELETE"><Watch Source="{1}" Destination="{2}" /></Request></div> |
| </li> |
| <li>ReadWatches: queries the current values of the watched elements |
| <div class="code"><Request ID="{0}" Action="READ"><Watches/></Request></div> |
| </li> |
| <li>Read_Watches Response Message: |
| <div class="code"><Resource name="ResName"> |
| <FB name="fbName"> |
| <Port name=\"portname"> |
| <-- if variable port --> |
| <Data value="value" forced="true | false"></Data> |
| <-- if event port --> |
| <Data value="value" time="time"></Data> |
| </Port> |
| </FB> |
| </Resource></div> |
| </li> |
| <li>ForceValue: where {0} is an id, {1} is the value, {2} will be replaced with FB-Instance-Name.Portname and {3} is either 'true' or 'false' in order to remove the force |
| <div class="code"><Request ID="{0}" Action="WRITE"> |
| <Connection Source="{1}" Destination="{2}" force="{3}" /> |
| </Request></div> |
| </li> |
| <li>TriggerEvent: where {0} is an id, {1} will be '$e' and {2} is FB-Instance-Name.EventName |
| <div class="code"><Request ID="{0}" Action="WRITE"> |
| <Connection Source="{1}" Destination="{2}" /> |
| </Request></div> |
| </ul> |
| |
| <h1>Where to go from here?</h1> |
| |
| <p>Go back to Development index:</p> |
| |
| <p><a href="../../html/development/developmentIndex.html">Development Index</a></p> |
| |
| <p>If you want to go back to the Start Here page, we leave you here a fast access</p> |
| |
| <p><a href="../../html/startHere/startHere.html">Start Here page</a></p> |
| |
| <p class="goToTop">Or <a href="#topOfPage">Go to top</a></p> |
| |
| </body> |
| </html> |