Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

CWIMAQViewer toolbar not showing all the tools at run time

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:

 

CWIMAQViewer_DesignTimeToolBar.PNG

 

Runtime Toolbar:

CWIMAQViewer_RunTimeToolBar.PNG

0 Kudos
Message 1 of 4
(4,391 Views)

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

0 Kudos
Message 2 of 4
(4,364 Views)

@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.

 

0 Kudos
Message 3 of 4
(4,360 Views)

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

0 Kudos
Message 4 of 4
(4,335 Views)