Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX component CWIMAQVision and CWMachineVision

Hello,
 
    is possible use the function of the NI Vision library without put the relative ActiveX control on the form ?
 
 
ThankYou
0 Kudos
Message 1 of 4
(3,711 Views)
Gualty -

You have to drop the ActiveX controls on the form to use NI Vision functionality.  Having said that, they only appear at design time and are not visible at run time, so the users of the form won't see them.

Greg Stoll
Vision R&D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 2 of 4
(3,710 Views)

Hi Greg,

    my problem is that in my application I have a secondary form on which I have an CWIMAQViewer, when I open this form I must execute some operation on the image on the viewer. I have just the ActiveX control on the main form obviously and my question is if there is the possibility to use the ActiveX on the main form for make the operation on the image (for avoid to insert an other control on the secondary form).

And if I have an application without form?

Thanks

0 Kudos
Message 3 of 4
(3,707 Views)
Gualty -

You can use the CWIMAQVision control on the first form: if the first form is called Form1, then

Form1.CWIMAQVision1

will give you access to that control.

If you have an application that doesn't have any forms, you still need a form to drop the CWIMAQVision control on, but you can make that form not visible at runtime.

Greg Stoll
Vision R&D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 4 of 4
(3,705 Views)