LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Overlay Graph on Picture that Zooms

Hello All,
 
Now that I have a working real-time zooming picture control, I'd like to get a graph overlayed on it. Reading through the forum, I've found the plotimages property, which seems to almost do what I want, hoever it does not seem to have the ability to zoom the picture (I was hoping that the background picture would scale based on changing the axes scale).
 
The application I'm trying to implement is to help an operator locate components on a circuit board. I'd like to have a cursor, or crosshairs overlayed on a picture of the component the operator is supposed to manipulate. I also would like the operator to be able to zoom into the component and still have the crosshairs point to the right place. If I use the picture commands to draw a box around the component, I would have to reload the image and redraw the box every time they zoom in.
 
I guess the brute-force method would be to overlay a transparent graph onto the picture control. I'm wondering if there is an alternative, more elegant solution.
 
Thanks!
-Ted
0 Kudos
Message 1 of 2
(2,636 Views)
Hi Ted,

Yeah, I'm not aware of a built-in way of doing this, though I'm completely unfamiliar with our IMAQ tools, I don't know if they have any such function.  I'm sure you could implement something like this using graph transparency and keeping track of the graph cursor coordinates and the X and Y Axis ranges and mapping this to how to zoom and move the image underneath, but like you said, it wouldn't be too elegant.
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂
0 Kudos
Message 2 of 2
(2,615 Views)