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
|
|||
|
|||
Suggestion on next Version
Hi,
after using flexsim for a while now im missing some functions. Perhaps I 'm the only one missing this, but,... The first one are global variables with two dimensions. I already discusse this problem with Tom David and the only way to realize such a array we find, was to take a amount of X 1 dimension arrays. But this should not be the way. Wouldn't it be a nice idea to implemt this in the next version ? Or the amount of available msgparam in the sendmessage command. Why only 3 masgparam availbale ? I had a sceanrio where it would be nice to have more then just 3 parameter. ( I have to send a order to a logistik center and first param is the material, second the type, third the station to send the material, an fourth.. type of taskexcecuter, fifth the place to fetch up the material...and so on. There was so much information i need to transfer that 3 parameters was to less. (Solved it by sending more then one msg or Combine the inforamtion in one number) Sure this are two problems that could be solved but .. then the code is not so easy to read as ith would be with more parameters... That are just suggestions that can be dicussed. Daniel |
#2
|
|||
|
|||
Hi Daniel,
I'm not clear what you'd gain over a Global Table in having a two dimensional global variable other than the syntax would read like an array rather than a function using gettablenum(). Is that the main interest? As you say, it can be solved in a number of ways. One way that I think is easy to read, would be to have a user command to write a new record in a global table (and return the row number or pointer to the calling code) and then pass the row number in the message as a msgparam or the row node as msgsendingobject. |
#3
|
|||
|
|||
Hi Jason,yes you got it. Syntax would be a bit easier for user like me who are no experts in Flexsim. But the usage of a global table is nice. Better idea then i had at first place.
|
#4
|
||||
|
||||
Daniel,
if I need to pass more than three parameters within a message, I usually create a node and put in all the information in single sub nodes. Within the message I only need to pass a referenc to the node then. It is a little bit complicated, when you do that the first time, but you will find it really handy, when you get used to it. The big additonal advantage is that you can easily copy and move the node with the information where ever you need it. I am pretty sure you know about node manipulation since it is part of the training class with Tom you have joined. Good luck Ralf |
The Following 2 Users Say Thank You to RalfGruber For This Useful Post: | ||
Sebastian Schreiber (06-22-2011) |
Thread | Thread Starter | Forum | Replies | Last Post |
Label in Object - Suggestion for next version | Gleny Rodriguez | Gripes and Goodies | 1 | 02-03-2011 01:06 PM |
Full Version v.s. Free Trial Version v.s. Runtime Version | Cliff King | Installation | 5 | 02-14-2010 01:01 PM |
[Suggestion]Minimize windows location | KelvinHo | Gripes and Goodies | 5 | 07-07-2009 10:02 AM |
[Suggestion]Suggestion on "Run speed" bar | KelvinHo | Gripes and Goodies | 1 | 05-29-2008 07:31 AM |
How to get the Global Code Functionality from Version 3 into version 4. | Regan Blackett | Tips and Tricks | 1 | 09-03-2007 06:12 AM |