question

Yue Y avatar image
0 Likes"
Yue Y asked Benjamin W2 commented

How to make BasicFR behave like a source

How can I code the BasicFR to make it behave like a source (generate and eject a box every 10 seconds).

FlexSim 19.1.1
basicfr
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

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Benjamin W2 commented

You need an event that repeats an interval of 10 seconds. You send a delayed message in the OnReset trigger to initialize the loop. The OnMessage receive the message and sends instantly a delayed message again. Then you can create an instance of the object in the same trigger.

· 2
5 |100000

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

Yue Y avatar image Yue Y commented ·

Thank you for your help! How can I create an instance of the box which belongs to the basicFR?

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 Yue Y commented ·

Hi @Yue Y, you can select the "Create Flowitems" underneath the "On Message" trigger that Joerg talked about.

1 Like 1 ·