Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem implementing the ActiveX vision.CalculateCoefficient() function in C++.

Justin,

So adding VB support for Vision 7.1 causes all of your IMAQ/Vision ActiveX controls to fail, but if you just install VB support for IMAQ 3.0 without support for Vision 7.1, the controls function properly?

Regards,
Scott R.
Applications Engineer
National Instruments
Scott Romine
Course Development Engineer
National Instruments
0 Kudos
Message 11 of 12
(1,168 Views)


@Scott R wrote:
Justin,

So adding VB support for Vision 7.1 causes all of your IMAQ/Vision ActiveX controls to fail, but if you just install VB support for IMAQ 3.0 without support for Vision 7.1, the controls function properly?

Regards,
Scott R.
Applications Engineer
National Instruments




Correct... Only installing the 7.1 core components and the 3.0 core components + 3.0 vb support will create functioning ActiveX controls that I can install into a new C++ project.

If I install the 7.1 core components + 7.1 vb support + 3.0 core components + 3.0 vb support OR 7.1 core components + 7.1 vb support + 3.0 core components then I can add the cwimaq control, cwimaq viewer control and then the vision control... I will crash out of the dev environment when trying to add the cwimaq vision control classes. HOWEVER, if I try to add the 7.1 controls into visual basic 6.0 they work just fine. In C++, adding the 7.1 vb support (build 0) creates havoc!

Thanks,
Justin
0 Kudos
Message 12 of 12
(961 Views)