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.

SuhyeonK avatar image SuhyeonK commented ·

Oh! It's similar to the way I wanted to. Can you tell me how to add nodes and link dashboards? I think there's an error because the properties window doesn't appear even when I click on the dashboard item.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann SuhyeonK commented ·

The dashboard is currently not in Edit Mode so the button is clickable. Activate it again to inspect the settings or make changes.

1738566612840.png

See this page for information about the tree and nodes. You link nodes and edit fields with the sampling tool. In the case of the button I had to sample the activity node in the tree for the correct path to be used.

1738566597614.png

0 Likes 0 ·
1738566597614.png (32.7 KiB)
1738566612840.png (8.8 KiB)
SuhyeonK avatar image SuhyeonK Felix Möhlmann commented ·

I'm trying to copy your model from the beginning. By the way, after clicking "Dashboard" in "Model TREE", I formed an object with "INSERT INTO" - "Add Object", but the detailed data doesn't come out at the bottom of it as you made it, how do I make it?

0 Likes 0 ·
Show more comments