question

Maria A31 avatar image
0 Likes"
Maria A31 asked Regan Blackett answered

Array index out of bound

Hello,

I have a problem in the attached model. I had a prototype model with the same process flow, and i took that and made some changes:

  • Added 4 extra racks (rack219-222)
  • Added 2 extra VNA's

It comes with an error:

Array index out of bounds at MODEL:/Tools/ProcessFlow/ProcessFlow/Determine forklift>labels/1/2

I added the 2 VNA's to the forklift_group but it stills shows error. Thank you!


VNA's1.fsm

FlexSim 21.1.5
proces flow
vnas1.fsm (1.5 MiB)
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

·
Regan Blackett avatar image
0 Likes"
Regan Blackett answered

When the error happens the pallet label is in Rack219, and your forklift label says to get the object connected to the pallet's location on center port 1. However Rack219 doesn't have a center connection to any forklifts which causes an array index out of bounds error. Based on what's in your model right now I'd guess Transporter10 is supposed to be connected to Rack219.

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.