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.
This model is an example for storing the number of different item types in a rack and show a bar chart with these numbers.
The Global Variable "NoItemTypes" defines the number of different item types.
The main code is in the OnEntry and OnExit Trigger of the rack to collect the data and in CustomDrawCode is the code for visualization of the bar grahp. A Label Table "LabelTableRackContent" is used to store the data.
Attention:
Do not delete or rename the object Logo_FlexsimD, because otherwise the model will not work correctly. Also do not rename, delete or rerank other objects.