question

Briankuo avatar image
0 Likes"
Briankuo asked Briankuo commented

How to read label in list?

I have a label named "EnterTime" in my flowitem. I would like to use it to calculate age in Global list. (For Example, age = currenttime - item.EnterTime) How can i write my code in Global list? Thanks a lot!

FlexSim 22.0.16
listlabeltimegloballist
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 Briankuo commented

Add a dynamic expression replacing 'item' with 'value', and 'currenttime' with 'time()':

time()-value.EntryTime
· 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.

Briankuo avatar image Briankuo commented ·

thx for reply!

0 Likes 0 ·

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.