question

Axel Kohonen avatar image
1 Like"
Axel Kohonen asked Axel Kohonen commented

Bug? Processor requiring operator processes item when no operator is connected

Hi,

I have the attached model with two processors. The operator is connected to the centerport of one of them. Both processors are defined to use operators for the process time and to use the operator found in center port 1.

When I run the model both processors accept flowitems and both process them, also the one the requires an operator but has no operator connected to it.

Is this a bug? Wouldn't it be more logical if the processor that requires an operator, but has none connected, would just wait forever for the operator instead of processing the flowitem?

20170215-bugwithprocessor.fsm

Thank you!

Kind regards,

Axel

FlexSim 17.0.1
processorbug reportoperator assignment
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

In Flexsim 5 you get an error message stating that the reference picklist option isn't set right. Same behavior in Flexsim 7.1.4 and Flexsim 16.2.2.

1 Like 1 ·

1 Answer

·
Jordan Johnson avatar image
3 Likes"
Jordan Johnson answered Axel Kohonen commented

This is an issue with the dot syntax version of the command. Up until 16.2, we used the centerobject command, which failed differently than the centerObjects property's array access function. The former returned a non-zero, but still invalid, treenode, and the latter returns a zero treenode. The code that fires the error message requires the non-zero invalid treenode. I will make sure this issue gets on the development list. Thanks for pointing it out!

· 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.

Axel Kohonen avatar image Axel Kohonen commented ·

Thanks @jordan.johnson

Axel

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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