ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 03-27-2012
naren nataraj naren nataraj is offline
Flexsim User
 
Join Date: Aug 2011
Location: INDIA
Posts: 28
Downloads: 20
Uploads: 0
Thanks: 36
Thanked 1 Time in 1 Post
Rep Power: 108
naren nataraj is on a distinguished road
Default Changing Values of Variables Dynamically

Hi,

I want to toggle the values of a variable being displayed on the screen and that should change the corresponding inputs for the model. I will try giving an example:

Suppose a variable is defined to display the current year...and this variable has a pull down menu which can have different years we can choose from. Year 2012 has a total demand of 150 units, for example, which I am reading from a table. When I choose 2013 now from the pull down menu, the demand value needs to change to, say, 300 now.

How to accomplish this? I am currently trying using a global variable and linking that to VisualTool. But, I need some help on this.

Thanks.
  #2  
Old 03-27-2012
shafizad shafizad is offline
ProcSim Consulting
 
Join Date: Jul 2010
Location: Switzerland
Posts: 75
Downloads: 18
Uploads: 0
Thanks: 90
Thanked 2 Times in 2 Posts
Rep Power: 126
shafizad is on a distinguished road
Default GUI

maybe GUI works well in your case. please take a look at "Graphical User Interfaces" in the manual.
  #3  
Old 03-28-2012
naren nataraj naren nataraj is offline
Flexsim User
 
Join Date: Aug 2011
Location: INDIA
Posts: 28
Downloads: 20
Uploads: 0
Thanks: 36
Thanked 1 Time in 1 Post
Rep Power: 108
naren nataraj is on a distinguished road
Default

Hi,

Thanks a lot for the reply. I actually figured it out and built the required GUI. It works as per the requirement.

Thanks again.


Thread Thread Starter Forum Replies Last Post
how to get multi-return values of UserCommand? Frans Zeng Q&A 2 08-19-2011 06:50 PM
Random stream initial values Sucharith Vanguri Q&A 12 03-10-2011 11:52 AM
How to set table values by using GUI Congshi Wang Q&A 6 05-20-2010 12:52 AM
changing shape factor when changing 3d shape KelvinHo Q&A 3 09-03-2009 08:24 AM
Create a table with random values Michael Hartlieb Q&A 7 08-05-2009 08:09 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.