question

Sinisa avatar image
0 Likes"
Sinisa asked Sinisa commented

Value change only "OnReset"

Hey guys,

My problem is I have a cell in a global table which is refered to a object (writes values in the table). So i have a formula wich is theoretically true but it only changes when i hit it "On Reset" . I want that the cell "Aktueller Scheibendurchmesser[mm] " changes in realtime like the "Aktuell" Cell.

Thanks in advance guys :)

trennschleifmaschine.fsm

FlexSim 17.1.2
global tabletriggeronresetcurrentcell
current.png (72.1 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.

1 Answer

Steven Hamoen avatar image
1 Like"
Steven Hamoen answered Sinisa commented

@Elisabeth Sestili Considering the fact that Flexsim is a discrete event software, your values don't change in realtime but only at certain moments (for instance process finished ;-) ) so if you update the value in cell on the time you change the other cells that is perfect because you don't get unnecessary code that you are executing.

Other options to take a look at are looking at ondraw trigger (executed a lot of times per second but only if you have a 3D view open) or use an user event that you execute every so many time.

· 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.