Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference on images displying in Labview 5.0 and LAbview 7.0

I have an old program running on Labview 5.0 where a camera is used to acquire an image.
The image is displayed on a front panel without opening an image window. I don't understand why the same software running on Labview 7.0 and Vision 7.0 the image is opened on a new window. For this reason I have a lot of problems because the front panel is displayed in front of the image. I can't set the image floating because the program opens some front panels which are displayed in background of the image if it is floating.

Thank you very much
0 Kudos
Message 1 of 7
(3,752 Views)
I am guessing that the old program used a vi that embeds the image in the front panel. It is called something like IMAQ Child.vi. I would think it would work fine with LV 7 and Vision 7, but perhaps not.

The easiest solution may be to use the new image control as an indicator, which allows you to display the image as part of the panel. It works a bit differently than the earlier image indicators, though, so it may take some work to convert it over. It depends how much you have in the way of ROIs, zoom, etc.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 7
(3,744 Views)
Thank you very much Bruce,
I will try to find out the file IMAQ Child.vi and see if there are some problems.
Unfortunately it is very difficult to follow your suggestion and use the new features of Labview to manage the windows.

I will keep you posted about the news...

See you
Gc
0 Kudos
Message 3 of 7
(3,734 Views)
Hi,
I found that also 22222 had somthing similar about embedding an image to a virtual isntrument panel.
I looked for something like IMAQ child.vi but I didn't find any results.
Could someone post this file?

Thank you very much

GcDago
0 Kudos
Message 4 of 7
(3,732 Views)
Here is the file. It is in LV 6 format. It may need minor updating to get it to work in LV 7.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 5 of 7
(3,724 Views)
Thank you very much Bruce,
you are so nice.
I opened the file but I miss the file "IMAQ get Window Handle".
If you can send me also this file. Anyway I think you are right, this is the main problem to solve.

Thank you one time more
GcDago
0 Kudos
Message 6 of 7
(3,709 Views)
Bruce...

IT WORKS!!!!!

I'm so happy...I found also the missing VI...
I put the "IMAQ make child" you gave me ibto my programs and all seems to work fine...


Thank you very much...without you I was lost...

GcDago
0 Kudos
Message 7 of 7
(3,705 Views)