question

kkkk avatar image
0 Likes"
kkkk asked Julie Weller commented

Global Table tracking which processor the item went

Hi! I will like to ask some questions about Global Tables.

From the comments in this link's question, I know more about Global Table, but still have some questions.

I've added two processors from the file below the comment of this link (0718_table_ex.fsm ). I will like to track which processor did the item went to ( Processor1, Processor2, or Processor3 ) through the Global Table ,and if the item was sent to the sink it will be removed from the Global Table. Not sure if it is possible to do so through Global Table, hope to get some suggestions! Thanks~

FlexSim 23.1.0
agvprocessorsglobal tables
· 1
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

Natalie White avatar image
0 Likes"
Natalie White answered Jason Lightfoot edited

Hi @kkkk,

You can add a trigger to the Processors (on entry) that will add a row and data to a global table. However, the row and table does not get deleted. Other options include adding a trigger to push the item to a list (you could then pull from the list later on), or creating a statistics collector that listens to the entry and exit of the processors.

Here is a model demonstrating these methods:

global_table.fsm



global-table.fsm (26.3 KiB)
· 2
5 |100000

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