question

mhf423 avatar image
0 Likes"
mhf423 asked Paula LG edited

Exception Errors in FlexScript

Hi everyone,


I have a model and it seems like everything is working, however, there seems to be some exceptions in the Flexscript.

I have tried debugging it for quite some time but I can't fix it.

sample.fsm


Any help is much appreciated! :)

FlexSim 24.1.0
flexscriptflexsim24
sample.fsm (63.5 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

Paula LG avatar image
0 Likes"
Paula LG answered Paula LG edited

Hi,

The issue you're facing is that all your items have a label named "Seq" that has a value of 0. That label is used by CNC_Machine to determine the process time, so every time an item enters the processor you get an exception telling you that there's no row number zero on the table you're trying to read the process time from.

Since the process time can't be calculated, your items are processed a total of zero seconds and stay on the processor only until the next operator can load them and bring them to the sink.

I hope it helps!

· 4
5 |100000

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