question

Howard avatar image
0 Likes"
Howard asked Jason Lightfoot edited

Issue with statistics collector item name

I added a statistics collector but the itemname is updated after the combiner's queue. The statistics collector table did not show the right itemname.

The type 9 item is supposed to have Product9 as ItemName but it's showing Product8.

1721918203279.png

globaltabledemohr-globallist-statistic collector.fsm

FlexSim 24.1.1
statistic collectorlabel value
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

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

The issue is not a problem with the stats collector.

You are setting the label ItemName to Product9 and Type=0 in Queue10 entry, but then you have a detection in the process flow for entry to QueueIn2 that proceeds to lookup the row based on the name of the item and not it's label 'ItemName'. You did not set the name of the item in Queue10's trigger so it remains at Product8 and you then overwrite the Product9 value with Product8 here:

1722014055066.png


1722014055066.png (4.1 KiB)
5 |100000

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