question

SudheerReddy avatar image
1 Like"
SudheerReddy asked Joerg Vogel commented

Events- OnMessage

As shown in below image there are lot of events like OnEndCollecting, OnEntry, OnExit etc. I am trying to find these events and the functionality in Manual but not able to find where it is located in the manual. Do we get any material or help file to read.

I would like to know what is the OnMessage event and how it triggers.

FlexSim 20.0.0
events
events.png (19.8 KiB)
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

Braydn T avatar image
3 Likes"
Braydn T answered Joerg Vogel commented

@Sudheer R

This information can be found in the user manual at docs.flexsim.com.

Here is some general information about events:

https://docs.flexsim.com/en/20.0/ModelLogic/EventsStatesTriggers/KeyConceptsEvents/

Here is some information about the onMessage trigger:

On Message

The on message event will fire the object's on message trigger. This event is fired when the object receives a message.

It has the following parameters:

Event ParameterTypeExplanation
Sending ObjectObjectThe object that sent the message.
Message Param 1VariantThis is a parameter that was passed through the message and could be a number, string, treenode or array.
Message Param 2VariantThis is a parameter that was passed through the message and could be a number, string, treenode or array.
Message Param 3VariantThis is a parameter that was passed through the message and could be a number, string, treenode or array.
· 6
5 |100000

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