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

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

axel_kohonen
Not applicable
17 Views
3 Replies
Message 1 of 4

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

axel_kohonen
Not applicable

[ FlexSim 17.0.1 ]

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.

5195-modelimage.png

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

Accepted solutions (1)
18 Views
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor

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.

5196-error-missing-operators-reference-v5-to-v1622.jpg

Message 3 of 4

JordanLJohnson
Autodesk
Autodesk
Accepted solution

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!

.


Jordan Johnson
Principal Software Engineer
>

Message 4 of 4

axel_kohonen
Not applicable

Thanks @jordan.johnson

Axel

0 Likes