09-05-2005 05:57 PM
09-06-2005 10:09 AM
I thought this was a really easy one to answer until I realized it was LabWindows instead of LabVIEW.
In LabVIEW, starting with version 7, there is a new indicator for images that is attached to the page. There may be an equivalent indicator for LabWindows.
Before version 7, I used a LV tool that would anchor the image in the panel. I don't know if that could be adapted to LabWindows. It was called "make IMAQ child" or something like that. You should be able to search my previous posts to find it - it was a subject of conversation several times. It made the image display window a child window of the panel, effectively locking it into the panel.
Bruce
09-06-2005 12:17 PM
09-06-2005 06:47 PM
09-06-2005 06:57 PM
09-06-2005 09:19 PM
That looks like the LabWindows version of the routine I was talking about.
It seems like it would do the job. You do have to lock it each time you run the program, but that is just a minor pain. I usually put a decoration where the image was going to be to reserve the space for the image so I didn't put anything else there.
I think there are other calls you can use to modify the attributes of the image window. By making it not resizeable and removing the frame, all that was left was the image locked in place. This prevents the user from moving it. Of course, if you want to move it within the program it is easy to do.
Bruce
09-07-2005 10:16 AM