swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Brandon Weber
Date: Thu, 18 Jul 1996 22:35:34 -0600 (MDT)

>What is the recommended code
>to have your model stop at a certain point, just as if the STOP button
>were hit (so that it can be continued by clicking Go) ?


Check in the Swarm documentation under simulation tools.  In there the
control panel is explained (as it is specified in <simtools.h>).  One can
tell the controlPanel to:

-setStateRunning
-setStateStopped
-setStateStepping
-setStateQuit
-setStateNextTime

You obviously want to tell the controlPanel to setStateStopped, and then a
press on go should do the job of getting it to go again.

Best,

Brandon Weber
Summer Intern at SFI



reply via email to

[Prev in Thread] Current Thread [Next in Thread]