 |
ALPHA-VISION® Tools: SimuDrv.exe
|
SimuDrv.exe
SUMMARY
SYNTAX
SimuDrv
SimuDrv
<do-file>
SimuDrv
<do-file> /sts=
<sts/sec> /val=
<val/sec>
[dynlim=
<dynlim/sec>] [limdel=
<limdel/sec>]
[/stations=<stnno-1>,<stnno-2>,...] [/start]
SimuDrv
<do-file> /xml=
<xml-script-datei>
OPTIONS
- do-file
- The DO-File
- /sts
- Status change per second, the status is selected
randomly between 0 and 255.
- /val
- Value change per second, the value is selected
randomly between 0 and 255.
- dynlim
- Number of changes of the dynamic limit per second.
- limdel
- Number of changes of the limits and delays per second.
- /stations
- Stations to be simulated.
Die The listed station numbers must be separated by comma without a space.
- /start
- The simulation is started immediately.
- xml-script-datei
- The named XML-Script-File is loaded and
started immediately.
DESCRIPTION
Syntax of XML-Scripts:
PointId and ObjNum attributes are equivalent and may be used everywhere
To apply a command to all objects specify
PointId="$$all"
or e.g.
"$$all_mp".
Ndx may be in the range of 0 to 8: Delay: Ndx=Sts / Limit: Ndx=Limit# + 1
Ut may be given to any command, if it is not specified then LT is used.
Guarded calls AbEnter/ExitCritSec b4/after every ACI-call.
It may be given to any command, the default is true.
To execute an unguarded ACI-call specify "0", "F", "f", "N", "n"
The Sleep-Time is given in milliseconds
A random value for any Attribute may be specified by
attr="$$random;"
<SetVal PointId=\"XYZ123\" Val=\"123.456\"/>
<SetSts ObjNum=\"12345\" Val=\"123.456\" Sts=\"0x80\" Guarded=\"0\"/>
<SetTime Ut=\"dd.mm.yyyy hh:mm:ss.xxxx\" LtOffset=\"hh:mm:ss.xxxx\"/>
<SetLimit PointId=\"XYZ123\" Ndx=\"1\" Limit=\"987.654\"/>
<SetDelay PointId=\"XYZ123\" Ndx=\"0\" DelayIn=\"10\" DelayOut=\"20\"/>
<SetStationSts Station=\"1\" Undef=\"1\"/>
<SetTxt ObjNum=\"12345\" Txt=\"Hello World!\"/>
<Sleep Time=\"2000\"/>
<Loop Count=\"5\"/>
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times