question

christian.n avatar image
2 Likes"
christian.n asked Cole Shirley answered

Listening for tracked variable label changes when labels automatically reset

I am using a process flow with event sources listening to tracked variable labels to gather stats from a model. It seems that this only works if I do not use the 'Automatically Reset' feature on the queues.

I have attached a model with two queues that work similarly, except that one automatically resets labels, and the other does not. Only the one that does not reset labels allows my process flow to listen for label changes.

tv-listening-test.fsm

Best regards
Christian

FlexSim 18.2.2
labelstracked variablesevent source
· 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.

Joshua S avatar image Joshua S commented ·

Is there a reason you are using the "Automatically Reset" for your label since it is a tracked variable and so sets to a value on reset already?

0 Likes 0 ·
christian.n avatar image christian.n Joshua S commented ·

Hey Joshua.

This is just an example model. In my main model, I use a whole lot of labels on my objects, and many of them need to be reset along with the model.

My current workaround is to reset the non-tracked-variable labels manually in the reset trigger. That being said, it seems a bit like a bug, that the TV labels won't work with auto reset.

0 Likes 0 ·

1 Answer

Cole Shirley avatar image
0 Likes"
Cole Shirley answered

Closing Outdated Question

5 |100000

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