question

SuhyeonK avatar image
0 Likes"
SuhyeonK asked Felix Möhlmann commented

Variable with String

During simulation, I put a number in the "Edit" blank on the dashboard to make the conveyor stop for a certain amount of time. ("Edit" is linked to the stop time variable.)

Including these conditions, Conveyor also wants to write what I want in the "Edit" blank to run PF.
(Variable 1: Conveyor I Want [ex RB11], Variable 2: Stop Time)

When I try to apply the conveyor name variable I want to the "Event-Triggered Source" object within PF, it seems to cause an error because it's a string... Even when I link it to the string variable in the "edit" properties on the dashboard, it doesn't work.

(When I was writing on the company PC, I couldn't post pictures and files on this site because there was an attachment error.)

FlexSim 24.2.2
stringvariable with string
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

For whatever reason an edit field can't be linked to a global string variable. You can use some other node that you add to the tree somewhere though.

I don't quite understand what the function of the Event-Triggered Source is here. Just in case, I want to clarify that you cannot change what event the source listens for while the model is running.

What I would do is add a button to the dashboard that triggers the stop logic in Process Flow by creating a token and assigning necessary labels to it.

dashboard-stop-button.fsm


· 4
5 |100000

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