Home   Documentation   Demonstrations   Download

AMICO: Documentation / AMICO Modules / Simulator

 

Enable execution of configurable simulations. Supports single commands, as well as simple command loops.

How To Run

     java -jar %AMICO_HOME%/bin/amico-simulator.jar [<conf-url>]

 

Configuration File

Configuration file contains a list of AMICO TCP protocol commands.

 

<?xml version="1.0" encoding="UTF-8"?>
<amico-simulation>
    <communicator host="localhost" port="3320" protocol="udp"/> <!-- Optional. If omitted default settings will be used.-->

    <command timeOffsetMs="1000">UPDATE test-variable 0</command>

    <command timeOffsetMs="1000">UPDATE-DIRECT test-variable 0</command>

    <command repeat="5"> <!-- repeat sequence of command five times -->

       <command timeOffsetMs="1000">UPDATE-DIRECT test-variable 12</command>

        <command timeOffsetMs="1000">UPDATE-DIRECT test-variable 13</command>

        <command timeOffsetMs="1000">UPDATE-DIRECT test-variable 20</command>

        <command timeOffsetMs="1000">UPDATE-DIRECT test-variable 30</command>

        <command timeOffsetMs="1000">UPDATE-DIRECT test-variable 40</command>

        <command timeOffsetMs="1000">UPDATE-DIRECT test-variable 50</command>

        <command timeOffsetMs="1000">UPDATE-DIRECT test-variable 60</command>

    </command>
    <command timeOffsetMs="1000">DELETE test-variable</command>

</amico-simulation>

 

 

Validation Logos