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

Joerg Vogel avatar image Joerg Vogel commented ·

You are trying to tweak a static flexsim table to behave like an excel table. Yes, you can try this. But maybe you take a look into the feature of a list. There you can set dynamically functions. Another approach is to write an executable string in a table, that you evaluate each time a special event occurs. Another concept is to create a user command. This a function, that you call in events like triggers. In such a user function you can parse several parameters. Those can contain references to table cells, which you combine to compute a result and also references where the result should be written into, if you don't need static result cells.

1 Like 1 ·
Sinisa avatar image Sinisa Joerg Vogel commented ·

Thanks for your help :)

0 Likes 0 ·

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.

Sinisa avatar image Sinisa commented ·

Thanks for your help :)

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.