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 05-19-2014
David Chan David Chan is offline
Flexsim Distributor
 
Join Date: Sep 2007
Posts: 326
Downloads: 74
Uploads: 0
Thanks: 217
Thanked 73 Times in 44 Posts
Rep Power: 218
David Chan has a spectacular aura aboutDavid Chan has a spectacular aura aboutDavid Chan has a spectacular aura about
Default Custom State in Dashboard Pie Chart

Hi

I would like to find out how do I display the custom state using the state chart of the dashboard.

Thanks

David
__________________
Advent2 Labs
David
  #2  
Old 05-19-2014
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

Hi David,

The standard gantt chart will not show a custom state. What you can do is create a new state profile and let the gantt chart point to that profile (you can select a different profile at the bottom of the first tab page)
The Following 3 Users Say Thank You to Steven Hamoen For This Useful Post:
Jörg Vogel (05-19-2014)
  #3  
Old 05-19-2014
David Chan David Chan is offline
Flexsim Distributor
 
Join Date: Sep 2007
Posts: 326
Downloads: 74
Uploads: 0
Thanks: 217
Thanked 73 Times in 44 Posts
Rep Power: 218
David Chan has a spectacular aura aboutDavid Chan has a spectacular aura aboutDavid Chan has a spectacular aura about
Default

Steven

Thanks.

1. New state profile:
Do you means another set of state profile in the state node or addition state in the original state profile?

2. Dashboard- Pie Chart
When I create the state pie chart, I saw the selection of the different profile. But that part is grey out. How do I turn it on? As the picture.

Thanks
Attached Thumbnails
Click image for larger version
Name:	Screenshot 2014-05-20 11.26.05.png
Views:	62
Size:	26.1 KB
ID:	2525  
__________________
Advent2 Labs
David
  #4  
Old 05-19-2014
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

Hi David,

please have a look into the multiprocessor. It's a good example how it should be used. The selection is only available if you have another state profiles

You have to set your own state profiles with
setstate((obj object, num state [, num profilenr]))

An example:
Code:
setstate(node("/MultiProcessor2", model()), 1, 1);//p.e. in OnEntry-trigger
I like to use #define in global macros to make the code more readable:
Code:
#define STATE_PROCESS_1 1
#define STATE_NONE 2
#define MY_OWN_STATEPROFILE 1
In OnEntry-Trigger:
Code:
setstate(node("/MultiProcessor2", model()), STATE_PROCESS_1, MY_OWN_STATEPROFILE);
Attached Thumbnails
Click image for larger version
Name:	state_profiles.png
Views:	62
Size:	15.5 KB
ID:	2526   Click image for larger version
Name:	dashboard.png
Views:	52
Size:	25.5 KB
ID:	2527  
The Following 4 Users Say Thank You to Carsten Seehafer For This Useful Post:
Steven Hamoen (05-20-2014)

Tags
custom, dashboard, state_profile


Thread Thread Starter Forum Replies Last Post
question about Flexism Chart Chengjun Zheng Q&A 1 04-12-2012 05:40 PM
Pie Chart Trouble Gutirallo Tips and Tricks 0 03-08-2012 12:19 PM
Questions concerning table, chart and excel Hao Zhou Q&A 0 05-19-2011 05:21 AM
Exporting From Flexsim Chart michaelsmith Q&A 1 10-07-2009 11:53 AM
Setting Custom State Francois Perron Q&A 1 04-06-2009 02:37 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.