question

Dj Moens avatar image
0 Likes"
Dj Moens asked Phil BoBo answered

Model() reference in process flow custom task executer

Hi,

In a 2018 model, a reference was made to model() in a custom task sequence for the "station". In 2018 versiona it worked well, but in 2019.+ version FlexSim will break down without an error message.

> See attached example of 2019.2 model: after forklift drops off then press reset errortest.fsm

I know that the reference is wrong, but it is hard when FlexSim gets into an infinite loop and needs to be closed.

Rgds

DJ

FlexSim 19.2.0
annoying critical bug
errortest.fsm (35.6 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

Phil BoBo avatar image
1 Like"
Phil BoBo answered

Thanks for pointing out this bug and providing good replication steps. I'll add a case to the dev list to look into it.

You can use Ctrl+Break to throw an exception when this type of infinite loop is firing in FlexSim to make it responsive again. In some cases, that can be helpful to prevent losing your work.

5 |100000

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