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
|
|||
|
|||
Sending GUI number to Global Table
Hello,
In my work I need to construct a custom GUI that captures values provided by the user. I am recording these in a global table. The GUI (at this point) is using an edit view to capture the value, and a coldlink to send the value to the global table (I only need to capture these values once per simulation run). I am having trouble figuring out how to configure the coldlink attribute text. Any help would be greatly appreciated! Thanks Albert |
#2
|
|||
|
|||
Do you mean you're having trouble with the node path to enter into the coldlink? If so, here are three options:
If you set the GUI objectfocus variable to the data node of the global table (found with 'reftable(<tablename>)' ) then you can use relative values using @objectfocus+ followed by the relative path /1/2 would be row 1 column 2. Alternatively you can right click on the cell you want, explore as tree, right click the node and set as so() and then in a script window execute nodetopath(so(),1) and the enter the string returned as the path. Another way would be to use a coldinkx node with the expression gettablecell(<tablename>,<row>,<col>) |
The Following 2 Users Say Thank You to Jason Lightfoot For This Useful Post: | ||
Phil BoBo (10-18-2010) |
#3
|
||||
|
||||
MAIN:/1/model/Tools/GlobalTables/GlobalTable3>variables/data/1/1
Replace "GlobalTable3" with your table's name. Replace "/1/1" with row and column numbers: /R/C |
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
Albert Munoz (10-18-2010) |
Thread | Thread Starter | Forum | Replies | Last Post |
Global Table string value | Congshi Wang | Q&A | 1 | 05-24-2010 07:38 AM |
Set Arrival Sequence on reset with global table | Patrick Cap | Q&A | 5 | 04-08-2009 11:12 PM |
Can I make a column of a global table to type table? | qin tian | Q&A | 0 | 10-01-2008 09:27 PM |
Reading Stats function from global table | David Chan | Q&A | 4 | 05-27-2008 08:51 AM |
Global Table Number Precision | Sung Kim | Tips and Tricks | 8 | 03-27-2008 04:25 PM |