question

Marco Baccalaro avatar image
0 Likes"
Marco Baccalaro asked Mischa Spelt commented

receiveitem in Basic FR

In a Basic FR, after calling receiveitem on it, how can I tell the object to stop receiving if no item was received after a certain time?

I'm using closeallip, is it the right way?

FlexSim 17.1.2
basicfrreceiveitem
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

Phil BoBo avatar image
2 Likes"
Phil BoBo answered Mischa Spelt commented

Yes, using closeallip() is the right way.

· 1
5 |100000

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

Mischa Spelt avatar image Mischa Spelt commented ·

Note, though, that the Basic FR does not "forget" the receive item call: as soon as you open the input ports again as many items are allowed in as there are unfulfilled receiveitem calls.

0 Likes 0 ·