Variable with String

Variable with String

rlatngus41386ZRWY
Enthusiast Enthusiast
1,325 Views
5 Replies
Message 1 of 6

Variable with String

rlatngus41386ZRWY
Enthusiast
Enthusiast

[ FlexSim 24.2.2 ]

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

0 Likes
Accepted solutions (1)
1,326 Views
5 Replies
Replies (5)
Message 2 of 6

FelixMoehlmann
Mentor
Mentor
Accepted solution

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

0 Likes
Message 3 of 6

rlatngus41386ZRWY
Enthusiast
Enthusiast

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
Message 4 of 6

FelixMoehlmann
Mentor
Mentor

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
Message 5 of 6

rlatngus41386ZRWY
Enthusiast
Enthusiast

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
Message 6 of 6

FelixMoehlmann
Mentor
Mentor

Not sure where exactly you are having problems. Maybe the following clip helps? (I used Space Bar and Enter as shortcuts for adding the nodes.


0 Likes