Producing a table of output against time.

Producing a table of output against time.

joseph_l4
Not applicable
24 Views
8 Replies
Message 1 of 9

Producing a table of output against time.

joseph_l4
Not applicable

[ FlexSim 21.1.4 ]

roofTrussProcessEdit.fsmI will attach the file below, but what I want to do is make a table that displays the a timestamp for each output of combiner "Jig 8_9". So for example...

Item Time

1 8:02.3

2 8:04.5

3 8:06.7

I followed along a guide that the website had, but I was running into a problem where the table that was generating would add a row each time an output occurred (which is right), but the cells were empty with a little right triangle in the corner. Let me know what I did wrong or how I should do it. Thanks

0 Likes
Accepted solutions (1)
25 Views
8 Replies
Replies (8)
Message 2 of 9

jose_antonio_mad
Not applicable
Accepted solution

Hello @Joseph L4 ,

You have to add a Trigger OnExit and select option: "Add Row and Data to GlobalTable", as shown in the following example.

I hope I have been helpful.

21.1.Write Table Output.fsm


0 Likes
Message 3 of 9

joseph_l4
Not applicable

Am I adding the trigger under the statistic collector? Or somewhere else. This is what I am seeing..

Screenshot (2).png

0 Likes
Message 4 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
In your statistics collectors I see no columns for field values - you'd need to add a column with the time as the value.
Message 5 of 9

joseph_l4
Not applicable

Screenshot (3).png This is what I have under the Columns section. The screenshot shows what I have selected for Exit Time and for Item I have..

Row Add Value: StatisticCollector.getID(data.rowValue)

Event Value: none

Update Timing: When the row is added and/ or updated by events

Storage: Double

Display: Object

Index: None

0 Likes
Message 6 of 9

jason_lightfootVL7B4
Autodesk
Autodesk

You want something like this:

1624377141116.png


Message 7 of 9

joseph_l4
Not applicable
Ok, first off thank you. Second off, the table is now producing a row every 10 seconds and the rows are empty with the red triangle in the corner. However, once an item is outputted, that particular row does display the correct time. So, every correct row is separated by like 20 empty rows.
0 Likes
Message 8 of 9

joseph_l4
Not applicable
Wait, I just deleted all the tables and made a fresh one following your image and it works. I most likely had a ton a settings selected when I was messing around with it. Thank you so much for the help.
0 Likes
Message 9 of 9

jose_antonio_mad
Not applicable

Hello,

For my first example, I create a global table because I understood what you were using. As Jason says, you can do it using the Statistic collector updating info when the item leaves the combiner for example.

211write-table-output_1.fsm


0 Likes