02-11-2009 08:05 AM
I have written a VI which gets in images from a camera, enhances the image and thresholds and displays it. I want to be able to see both the image being read from the camera with the thresholded image at the same time. Whilst this all this is going on I wanted to change the threshold value using sliders.
The VI I have written doesn't seem to want to display my orginal image, the thresholded image seems to work, but not the orginal image (it's just black).
I have attached my VI, is there anything obvious that I am doing wrong?
Thanks,
Jack
02-11-2009 08:06 AM
02-11-2009 08:13 AM
Ok I think I might have just found the solution.
I used an IMAQ create block, see VI, but it still doesn't work perfectly.
02-11-2009 09:09 AM - edited 02-11-2009 09:09 AM
bluefocs,
The problem that you have kind of "race conditions" in your VI. You should connect Image Dst of filter to another image. Otherwise yoiu have filtered orginal image, and show the same image in both displays. Try to switch your source display to binary palette too - you will be surprised 😉
Hopefully attached example will explain this:
Andrey.