Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Change ROI position pressing a button

Hello everyone.

 

I have a program where user can select the position of some ROIs and then the program measure the distance of the edges that are inside the ROIs.

Well. Now I would like to have two displays. In one display I would like to visualize the image with the ROIs, this display 1 has to rec continously. And in the other Display (Display 2),  I would like to have just a image with the patron of an image where the user will be able to change the ROIs in this display.

So I would like that the user change the ROIs in the display 2 then press a buttón and the new ROIs has to be changed in the display 1 as well but just when user press a button, if the user does not press the button the ROIs in the display 1 has to be the same and do not change until user press a button.

 

How can I do that?

Any ideas?'

 

Thanks a lot!!

0 Kudos
Message 1 of 2
(2,952 Views)

have a look at this VI, you need to create 2 image buffers, one for each display control, and for each display control you can create property nodes to read or write the ROI you want.

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 2
(2,944 Views)