07-09-2009 12:45 PM
Well I got this problem here at home.
I've this .vi
I've labview 8.6 + labview vision module + labview vision module for usb webcams.
Well this .vi is pretty simple but it gives me some strange results...
When I run this I get the same image on "image1" and "image2"... while in fact "image2" should be the "image1" of the last loop. This should be visible when you set the sleep time of the loop higher. Now the problem is is that on my frontpanel "image1" and "image2" are ALWAYS equal... But then when I click on the two wires of "image2" and "image1" then the difference is visible. But on the frontpanel "image1" equals "image2"...
A couple of weeks ago when I first was testing with labview + vision on my university there was a visible difference between the two images. This was with the same webcam and software.
Anyone got an idea how this is possible?
07-09-2009 02:15 PM
How fast is your update rate?
Have you tried setting the image indicators to "advanced...synchronous display"?
(sorry, I don't have vision stuff, so I cannot test).
07-09-2009 02:42 PM
07-09-2009 02:46 PM
07-10-2009 04:06 AM
Hello Wouser,
to display two different Images at the same time you will need two different image buffers.
Please note that you will have to use two different names when creating the image buffers.
In your case the use of "IMAQ Copy" would be recomended to create a copy in the other buffer.
You can think of the purple "Image" Wire as a Pointer to the Buffer containing the actual Image data.
I hope this helps!
Regards
Moritz M.
07-10-2009 10:16 AM
Wetzer wrote:You can think of the purple "Image" Wire as a Pointer to the Buffer containing the actual Image data.
That's what I thought too, but why would it behave differently during execution highlighting? (sorry, I don't have IMAQ, just curious ;))
07-10-2009 11:40 AM
07-10-2009 03:07 PM
07-14-2009 04:21 AM
Hello Wouser
Randalls post gives a good explanation on why your code works when "highlight" mode is enabled.
What still remains questionable is the difference between these two computers.
Here is the Code that should do the trick on any computer:
Since i aint got no USB Camera i couldnt test this code, but i am confident that it will work.
Regards
Moritz M.