[javasim-general] howto use wait_until?
Peter Backx
peter.backx@intec.rug.ac.be
Mon, 10 Feb 2003 14:29:06 +0100
Hung-ying,
Thanks for the quick reply, comments inline.
> A better alternative would be using Tcl script with a batch file:
>
> Make your script only run one case but make all the parameters
> the arguments
> to the script. So at the beginning of your script, it would look like:
The disadvantage is of course that the entire simulation environment needs
to be reloaded every time (a quite timeconsuming part in my simulations). Of
course once everything is properly automated this should no longer be a
major objection.
> It is
> getting weird
> in implementation as a simulation thread is trying to reset the simulation
> engine. We should probably make this work in the future release.
I understand the problem to get this working. One of the things I tried was
attaching a state listener to the runtime, but this results in the same
problem again: the simulation rebooting itself. Maybe some kind of
meta-proces or -simulation encapsulating the actual simulation could work,
but I haven't got much time at the moment to investigate this and I'm not
sure how this could impact performance.
Thanks again for the help and for the great javasim,
Peter