Two camera issues labview

We are trying to use two cameras on our robot, one for the front and one for the back. They are USB cameras, logitech i believe, and in my code I have basically copy-pasted the initialize code that is already in the vision processing vi, only changing the USB port and the refnum name. However, when I try to display the two cameras on the dashboard it crashes and won’t allow me to even see one camera feed until I re-deploy the code. Help would be very appreciated!