10-06-2010 10:50 AM
I want to use a series of booleans to switch between cameras (Boolean 1 selects cam1 and so on) so as to display a live image. I'm working off the "grab & select interface" example but my program throws an error and I don't understand why. Here's what's going on:
In the example, the first vi inside the While Loop is IMAQdx Close Camera. The "Session In" is fed from a shift register. That makes sense - when switching between cameras it's necessary to first close the open camera, but how does this work the first time the vi runs, i.e. when no camera has been run?
The reason I'm asking is that I've copied this approach and get the error "Invalid Camera Session." Why doesn't the example get this error? What am I doing differently?
BTW, I'm running LV 8.2
Thanks in advance for your ideas and suggestions.
10-07-2010 11:56 PM
Could you post your code?
10-08-2010 02:08 PM
Joe, here's what I have - attached.
10-11-2010 11:14 PM
Here is a vi snippnet of a modifed version of the code that I got working