question

mm_y_2406 avatar image
0 Likes"
mm_y_2406 asked Jeanette F commented

Reset error

Using ASRS Vehicle to pick an item out_4.fsmHi, I'm not sure what went wrong but every time I reset, i receive this error:

exception: Executive::__reset()

exception: int Executive::reset()

exception: reset


and when I saved the model, it gives this error:


exception: FlexScript exception: VIEW:/nodefunctions/workspace/saveworkspaceview

exception: FlexScript exception: VIEW:/nodefunctions/workspace/saveworkspacelayer



FlexSim 24.0.3
on reset
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @mm_y_2406, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Felix Möhlmann commented

I'm not getting any errors when I run or save your model. Might be an error that fixes itself on a restart of FlexSim or the PC.

Does the attached model work you?

using-asrs-vehicle-to-pick-an-item-out-5.fsm


· 7
5 |100000

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

mm_y_2406 avatar image mm_y_2406 commented ·

Hi Felix, that seems like the case. I have another question though. In my set the token.EntryPoint label depending on what the destination is, am I setting the code wrongly as it does not seem to recognise to go to the right entry point. 1720164996103.png

0 Likes 0 ·
1720164996103.png (119.6 KiB)
Felix Möhlmann avatar image Felix Möhlmann mm_y_2406 commented ·

You compare the pointer (object reference) with a string value (which weirdly returns true and thus the EntryPoint is always set to DP1).

I would generally try to avoid using names to reference objects. It makes it more likely that changes to the model such as replacing an object breaks something and also makes scaling up a model much more time consuming. Use 'relative' object references (pointer labels on the racks or port connections) instead.

The method you use to send the item is always prone to errors, because you assume that the first item on the conveyor is the one to be send. If there are ever two or more items on the conveyor the wrong item will be send. The token already has access to the target point, so I don't see a reason to not just send the item in Process Flow.

using-asrs-vehicle-to-pick-an-item-out-6.fsm

0 Likes 0 ·
mm_y_2406 avatar image mm_y_2406 Felix Möhlmann commented ·

Thank you for the guidance. I didnt think I could custom code to send the item as well rather than using another DP which like you said can cause errors in the future. Thank you very much!

0 Likes 0 ·
Show more comments