In your block diagram, you are using a 2-D array of type I32. You can put the obtain queue before the loop and just wire a constant of a 2-D array with representation I32. The constant can even be a 2-D array that has no elements. Just right click the wire you have now and select Creat Constant. Move that constant outside the loop and wire it to the obtain queue that you move to outside the loop.
Try it and if you still have problems, please post your code at that point.