question

Steven Chen avatar image
0 Likes"
Steven Chen asked Jordan Johnson answered

Make a time plot chart from global table

Hello,

I have a global table with two columns, one is model time for x axis, another one is data for y axis.

Is there a way to build a time plot associate with the global table, and listen to table row added event?

FlexSim 17.2.2
global tabletime plot
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

There is no built-in way to make a plot from a global table. You will have to create a Statistics Collector table that copies the table you are making manually.

One way to do it would be to set up a general process flow, with a single token. That token would keep a label for the number of rows it already recorded. It could periodically (every 10 seconds or something) check for more entries in the table.

You could then use a Statistics Collector to log the values found on each row. Here's a model that demonstrates this approach:


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.