Hey Guys,
I am running into issues while trying to figure out how to Switch between 2 cameras.
In the Vision Proccesing.vi , I changed a lot of things to get the 2 cameras to work :
While Probing The Image(purple line) its looks like there is an image! and if I click ‘Switch’ The image is also changed while probing.
But, Nothing get to the Dashboard! One time it worked and I could switch between the cameras with a control I made in the dashboard(and it was pretty slow tbh), since then it didn’t worked for some reason…
OK, the problem is getting serious…
I can’t get even 1 Camera feedback to the dashboard!
Tried to use a new robot code and a new dashboard code and Nothing!
Tried to switch to another laptop and still nothing…
But, When probing in the vision processing on the image(purple line), I can see the image, but it doesn’t get to the dashboard :ahh:
I’ll have to dig up our code from last year to see how we solved this problem; I’ll try and get to it tonight or this weekend. In the meantime I’ll try and point you in the right direction.
Mind you this is from last year so the labview code under the hood may have changed for 2017. BUT assuming it hasn’t, the problem the we encountered was that the “IP & Dash” and other pre-packaged VI’s work only when there is one camera. So we ended up making our own copies of these VI’s and made some minor changes to allow multi-camera use. We had spent a some time ripping our hair out looking for problems in our code when the problem was in the pre-packaged stuff! So take some time and look there first.
Digging into my memory - I think the problem was that when you call IP & Dash (or maybe it was another related VI?) a second time, it gets all confused - it was never made to handle more than one instance. Something like that. I’ll see what I can dig up tonight. Hope this helps a little.