question

Ryan_Wei avatar image
0 Likes"
Ryan_Wei asked Felix Möhlmann answered

Unable to catch label in node

There is an Output label in my DataEntry, which will display from 0 to 100 and cycle. I hope that the label "State" in my XR2Q, CarouselQ, and ManualQ can be changed once when the Output label = 0, but it still cannot read it to this label, I want to know where the problem is


DataEntry settings

1690899481946.png

1690899506326.png

XR21、CarouselQ、ManualQ settings

1690899644989.png

System Console

1690899734012.png

practice2023.8.3.fsm

FlexSim 23.0.0
reinforcement learningflexscript error
1690899481946.png (8.9 KiB)
1690899506326.png (47.1 KiB)
1690899644989.png (103.0 KiB)
1690899734012.png (126.5 KiB)
practice202383.fsm (85.9 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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

All of the objects in your model are placed inside a plane. You have to account for this when using Model.find(). Since the objects are not direct subnodes of the model, you have to define the entire path.

Model.find("Plane1/DataEntry")
5 |100000

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

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.