ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
|
Downloads |
Flexsim Student Forum Forum for discussion for Flexsim Students using the Flexsim Textbook. |
#1
|
|||
|
|||
Flexsim engine crashes
Hello
Its a very peculiar problem but I recently made some changes to the code of a perfectly fine model. Now every time I run the model, Flexsim engine crashes. It shouldn't happen as I have changed nothing major and ideally even if their is an error in the code, flexsim shouldn't crash. Does anyone have a clue as to why is this happening. I can attach both the models if you want to look into them |
#2
|
|||
|
|||
Issue resolved
In case anyone wants to know what happened, I had written a bad code and an infinite loop was being formed due to that. So if it happens to you do check your code thoroughly.
|
The Following 2 Users Say Thank You to mearjun For This Useful Post: | ||
Sebastian Hemmann (07-09-2013) |
#3
|
||||
|
||||
Note that if you're in an infinite loop, i.e. FlexSim doesn't crash but instead just becomes unresponsive, you can explicitly break out of it by pressing Ctrl + Break. On laptops sometimes it's a "Pause" key. If it's infinite recursion, not an infinite loop, then FlexSim will just crash unfortunately. FlexSim does try to detect and break out of infinite recursion, but it's not perfect.
|
The Following 4 Users Say Thank You to Anthony Johnson For This Useful Post: | ||
Sebastian Hemmann (07-11-2013) |
#4
|
||||
|
||||
Quote:
I write an infinite loop in script window and execute it. Then FlexSim is unresponsive. I do not have a Break key. So I tried Ctrl + Fn + Pause, it won't work. I tried other key combinations as well. Anyone has similar laptop and succeed? Thanks, Alan
__________________
Best, Alan |
Thread | Thread Starter | Forum | Replies | Last Post |
flexsim engine shutdown | Gavin Douglas | Q&A | 8 | 02-07-2013 01:38 PM |
I want to look for the flexsim demo about automobile plant, especially engine machining and assembly line... | syseo | Pre-sales Questions | 0 | 12-11-2012 05:30 AM |
Flexsim engine has stopped working | Peter Walters | Gripes and Goodies | 3 | 07-23-2012 09:51 AM |
Using Flexsim as a simulation engine? | Kenny Macleod | Q&A | 2 | 11-19-2008 03:15 PM |
How does a Simulation Engine work ? | Vinay Mehendiratta | Q&A | 2 | 02-14-2008 01:01 PM |