LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you "Delete ROI Contour" in EXE?

Posted this in Hardware-->Machine Vision and got no response, so now trying here...

System:
Windows XP Pro
Labview 8.01
Vision Development Module 8.0

When you have an IMAQ Image Display Control, you can add multiple ROI areas by using the "ctrl" button and drawing new regions.  On the developement machine of LabVIEW, you can selectively delete individual ROI contours by right clicking on it and selecting "Delete ROI Contour" from the shortcut menu.  You can also "Clear ROI", and "Save Image..." on the development machine.  These functions are great!

This is the problem:
When built as an executable these items do not show up in the right-click shortcut menu!
Programatically adding custom runtime shortcut menu or buttons to "Clear ROI" or "Save Image" is easy, but I don't see any way to programatically determine the currently selected ROI so that I can delete it.  Are there are no properties visible that indicate this?  I can see how to use the "Last Mouse Postion" and delete and ROI that bounds the mouse position, but this will not work for complicated ROI's.

Were these shortcut items left out of the EXE intentionally?  Is there some way to get this funtionality back in the EXE?

Thanks.

-Chris Immer
0 Kudos
Message 1 of 2
(2,757 Views)
Here's a vi and EXE that illustrate the problem.


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