03-25-2015 10:55 AM
Hi
I'm using the cwimaqviewer control to display images acquired from a CCD camera. I set the viewer's ShowToolBar property to true. All the toolbar items showup fine at design time. However most of them go missing at run time. See attached photos. I'm using VS2008, and version 9.0 of the CWIMAQ control. Any ideas why this is happening? I need the circle tool to draw overlay over the image. Thanks.
Design time toolbar:
Runtime Toolbar:
03-26-2015 10:30 AM
Hi,
I found a resource that may be helpful for you; I've attached the link below. It depends what you're wanting to do but chapter 3 Interactively Defining Regions might be a good starting point.
IMAQ Vision for Measurement Studio™ User Manual: Visual Basic:
http://www.ni.com/pdf/manuals/323023a.pdf
I hope this helps!
Kale W.
Applications Engineer
National Instruments
http://www.ni.com/support
03-26-2015 11:33 AM
@nikale wrote:
Hi,
I found a resource that may be helpful for you; I've attached the link below. It depends what you're wanting to do but chapter 3 Interactively Defining Regions might be a good starting point.
IMAQ Vision for Measurement Studio™ User Manual: Visual Basic:
http://www.ni.com/pdf/manuals/323023a.pdf
I hope this helps!
Kale W.
Applications Engineer
National Instruments
http://www.ni.com/support
Hi Kale,
Thanks for the tip. The document gives information on where to find particular examples, which is helpful.
I found this page that gives overlay examples. I really wanted to see how the fifth one is done. Unfortunately, it's implemented in LabView. Is there a similary example in VB?
http://www.ni.com/example/25623/en/
Thanks much.
03-27-2015 03:36 PM
Hi,
I was unable to find a VB example, but you could try working in Vision Assistant add an overlay to the script and then generate .NET code by click Tools in the upper left and selecting Create .NET code. Hopefully this helps!
Kale W.
Applications Engineer
National Instruments
http://www.ni.com/support