1. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  2. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  3. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant here. Do not following these rules will lead to permanent exclusion from this website: Read the forum rules.

Lesson New - Emergency Stop Command (v2.2)

Discussion in 'Tutorials and Tips by the Developer' started by yobuddy, Dec 22, 2017.

  1. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    3,716
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    31,859Coins
    Ratings:
    +3,781 / 10 / -0
    So you created a new plugin for SimTools, and you even added some error detection. :cool:
    But how do you stop SimTools when a problem arises? :oops:

    Well with SimTools v2.2 (and above), you can tell SimTools to Stop with this sub routine. :D
    EStop.jpg

    When the above Sub routine is executed, SimTools will immediately stop.
    And Game Manager's On/Off button will show that it received a 'Stop' command.
    Stop.jpg

    To be clear, this is not a substitute for a Real Emergency Button that cuts power to a simulator.
    (And it is not a replacement for one.)
    But it's a way (mainly for plugin writers) to stop SimTools immediately should we need to.
    yobuddy

    Here is my little test app. (so you can copy and paste the code as needed). :thumbs

    Attached Files:

    • Like Like x 2
    • Winner Winner x 2
    • Informative Informative x 1
  2. Ads Master

    Ads Master

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
  3. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,447
    Location:
    Newcastle Australia
    Balance:
    27,310Coins
    Ratings:
    +2,739 / 32 / -0
    My Motion Simulator:
    DC motor, Motion platform, 6DOF
    This could be handy to stop the sim when a simulation 'G' limit is reached on a crash etc (BFF has this). Could really save my body....:).
    • Agree Agree x 2