Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

imaqSelectPoint

Hello,
 
     using IMAQ Vision library (versione 8.5) with LabWindowsCVI there is the imaqSelectPoint function (in the MachineVision library) that enable the point tool and show the button "OK" and "Cancel" in the window where the image is displayed. I can test the return value of the function for understand if the user has clicced on the OK or Cancel button.
 
There is a similary function using the same library with VB.NET (Visual Studio 2005) ? I don't find it.
 
ThankYou for your help.
 
  
0 Kudos
Message 1 of 2
(3,118 Views)
Gualty -

There is not an exact copy of imaqSelectPoint() in VB.NET.  What you can do instead is put a AxCWIMAQViewer control in a form, pop up that form, and wait for a user to click OK or Cancel.  You can look at the MagicWand example (in <Vision directory>\Examples\MSVB.NET\2. Functions\Grayscale Processing\MagicWand.sln) to see an alternative - just performing an action when a user clicks a point on the viewer.

Greg Stoll
Vision R&D
National Instruments


Greg Stoll
LabVIEW R&D
0 Kudos
Message 2 of 2
(3,116 Views)