Enable execution of configurable simulations. Supports single commands, as well as simple command loops.
java -jar %AMICO_HOME%/bin/amico-simulator.jar [<conf-url>]
Configuration file contains a list of AMICO TCP protocol commands.
<?xml version="1.0"
encoding="UTF-8"?> <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> </amico-simulation> |