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 |
#1
|
|||
|
|||
Running simulation in the background
Hi is there anyone the experience that run FlexSim in the background instead of actual running FlexSim in the foreground?
Regards David
__________________
Advent2 Labs David |
#2
|
||||
|
||||
Could you please describe what "background" exactly means for you?
__________________
Hemmi |
The Following User Says Thank You to Sebastian Hemmann For This Useful Post: | ||
Jason Lightfoot (10-21-2015) |
#3
|
||||
|
||||
Execute a line like this from the Command Prompt or a batch file:
“C:\Program Files\FlexSim7\program\flexsim.exe” “C:\Users\username\Documents\Flexsim 7 Projects\test.fsm” /maintenance nogui&disablemsg&runscript /scriptpath C:\myscript.txt That will open FlexSim, open the model at the specified path, set a flag to suppress showing the FlexSim interface, set a flag to suppress any msg() commands from appearing, and execute the file C:\myscript.txt as Flexscript. You can put Flexscript code into myscript.txt to do stuff in the model, such as resetting and running the model. You can use triggers in the model to export results and close FlexSim. |
The Following 5 Users Say Thank You to Phil BoBo For This Useful Post: | ||
syseo (10-21-2015) |
#4
|
|||
|
|||
Phil
One of our client would like to operate FlexSim without physical open up the FlexSim interface and run the model. So with command line to run the model. I think they might want to embed the execution of Flexsim model in their program. David
__________________
Advent2 Labs David |
Tags |
background, simulation |
Thread | Thread Starter | Forum | Replies | Last Post |
VISIO background image | Gavin Douglas | Q&A | 1 | 02-12-2013 10:21 PM |
Could not see the background in Berth Planner | David Chan | Container Terminal (CT) Library | 2 | 09-24-2012 08:59 PM |
Continually repainting a view when the simulation isn't running | Allister Wilson | Q&A | 1 | 05-24-2011 10:29 AM |
CAD Drawing Imported as Background | B Whitley | Container Terminal (CT) Library | 8 | 10-09-2009 12:24 PM |
In what cases the running simulation would stop itself? | KelvinHo | Q&A | 1 | 05-08-2008 08:32 AM |