Array index out of bound

Array index out of bound

maria_a31
Not applicable
44 Views
1 Reply
Message 1 of 2

Array index out of bound

maria_a31
Not applicable

[ FlexSim 21.1.5 ]

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

0 Likes
Accepted solutions (1)
45 Views
1 Reply
Reply (1)
Message 2 of 2

regan_blackett
Autodesk
Autodesk
Accepted solution

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.

0 Likes