Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

vision builder

Solved!
Go to solution

Hi there,
I need to make zoom in and zoom out in an acquired image that I show in my Vision Builder AI-Inspection, but the problem is that there is no control button in my graphical user interface that can allow me to do that. I know that it is possible to have this type of controls in a GUI, because there is some examples in the "built in inspection interface", that do that, (but I'm not allowed to access to this built in inspection interface, to see How it works!)
Can anyone help me?
** I attached a picture for you guys realize what I really need.
Regards

0 Kudos
Message 1 of 15
(5,073 Views)

Ricardo,

 

what version of VBAI are you using?

 

 

 

Christian

0 Kudos
Message 2 of 15
(5,035 Views)

Hello

I'm not sure, about if the problem come from the version of my VB.

but here it goes: Version is 2009 SP1

0 Kudos
Message 3 of 15
(5,031 Views)

With VBAI 2009 you have Zoom Tools in the Inspection Interface too.

See here at page 21.

 

 

Christian

0 Kudos
Message 4 of 15
(5,024 Views)

Hi,

Is you GUI a "Custom Inspection Interface" or the normal "Inspection Interface"?

Because if you use a custom interface, you have different way of doing it.

Either you use the ROI Tool bar of your image control in which you find a zoom tool.

Either you place two buttons on your GUI that controls property node of your image. (ZoomInteger or  ZoomSingle property node)

 

Now I do not have VBAI2009 installed anymore, but if you use the normal inspection interface, you should be able to zoom in and out.

Hope this helps

Regards

0 Kudos
Message 5 of 15
(5,022 Views)

Hi
I have already tried what you are saying (create a zoom tool) in my interface with labVIEW, but didn't work because VB doesn't accept subVI, and zoom tool is one.
thanks

0 Kudos
Message 6 of 15
(5,017 Views)

Hi Christian

In page 21, the inspection is a built-in inspection interface which already has the zoom controls.

If you try to create a new Inspection interface, the controls doesn't appear

thks

0 Kudos
Message 7 of 15
(5,015 Views)

You defenitely have two options:

 

1. Use the standard configuration interface, which natively provide zoom tools.

2. As toto said, create a custom interface using the IMAQ Image display, which also provides zoom tools.

 

 

Christian

0 Kudos
Message 8 of 15
(5,012 Views)

Christian, if I use the standard configuration, I'm restricted, because I will need other functionalities in my configuration inspection.
In other hand if I use buttons from labVIEW, to control the zoom, as I said to toto, I will get an error because I can´t use subVI in VB.

0 Kudos
Message 9 of 15
(5,010 Views)

As I said before, when creating a custom inspection interface, the IMAQ Image display includes zoom tools:

 

Untitled.jpg

 

 

Christian

0 Kudos
Message 10 of 15
(5,001 Views)