how to trigger the plane that person step on it

how to trigger the plane that person step on it

martin_c10
Not applicable
185 Views
6 Replies
Message 1 of 7

how to trigger the plane that person step on it

martin_c10
Not applicable

[ FlexSim 20.0.10 ]

螢幕擷取畫面-247.pngchooseelevatorbank-2.fsm

I want to collect person's label and add entry time to global table when person step on the plane , how can I set trigger event?

Accepted solutions (1)
186 Views
6 Replies
Replies (6)
Message 2 of 7

jason_lightfootVL7B4
Autodesk
Autodesk

This is easily done with a Statistics collector that listens to the completed Travel tasks - which are in turn detected in the process flow.

1648215407030.png1648215445461.png

See attached model.

chooseelevatorbank-2_jl.fsm

0 Likes
Message 3 of 7

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

You can listen to the patient's elevator events to get these time stamps. You also don't really need all those floor spots. You can just send patients to an x,y,z position in front of an elevator. Here's an example.

ChooseElevator.fsm

I'm listening to the patient's OnAStarElevatorBankArrival, OnAStarElevatorEntry, OnAStarElevatorExit, and OnAStarElevatorBankContinue events.




Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 4 of 7

martin_c10
Not applicable

thanks

0 Likes
Message 5 of 7

martin_c10
Not applicable
thanks
0 Likes
Message 6 of 7

martin_c10
Not applicable

Sending patients to a fixed location is a great workaround, and the custom code you created fulfills my target, you are a genius

0 Likes
Message 7 of 7

martin_c10
Not applicable

This solution is a truly convenient way to get the data, appreciate

0 Likes