Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in displaying a selected image from the browser

How come I always get the same image (the last) when I select an image from a browser. I used IMAQ Browser Forcus (with mouse click)to send an index to Index Array, then with IMAQ WindDraw to display the image,but it is always the same image (the last) that shows in the new window.
0 Kudos
Message 1 of 3
(3,074 Views)
I started with the Browser Example included with IMAQ Vision, and added an indicator for Index Out on IMAQ Browser Focus. The index always matched the image I clicked on, so I am not sure what your problem is.

A few things to check: Are you only checking the image index after a mouse click? Are you feeding the pixel coordinates of the mouse click into the Browser Focus vi?

If you can't figure it out, it would probably be a good idea to include some code that demonstrates your problem. It sounds like you are making a programming error somewhere, but it is difficult to solve without an example.

Bruce
Bruce Ammons
Ammons Engineering
Message 2 of 3
(3,074 Views)
Try this VI (It's from "Image Acquisition and Processing with LabVIEW" - see <> for more details...

cheers,
Christopher

Christopher G. Relf
Certified LabVIEW Developer

Christopher.Relf@mBox.com.au
International Voicemail & Fax: +61 2 8080 8132
Australian Voicemail & Fax: (02) 8080 8132

---
EULA
1) This is a private email, and although the views expressed within it may not be purely my own, unless specifically referenced I do not suggest they are necessarily associated with anyone else including, but not limited to, my employer(s).
2) This email has NOT been scanned for virii - attached file(s), if any, are provided as is. By copying, detaching and/or opening attached file
s, you agree to indemnify the sender of such responsibility.
3) Because e-mail can be altered electronically, the integrity of this communication cannot be guaranteed.




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
0 Kudos
Message 3 of 3
(3,074 Views)