08-20-2012 03:49 AM
Hello,
is there any maual available describing ActiveX controls for Vision Builder AI2011 ?
I read there should be some manual:
NI Vision Builder for Automated Inspection: ActiveX Component Reference Help
but I can't find it.
For VBAI 3.5 there also used to be also some ActiveX examples (C:\Program Files\National Instruments\Vision Builder AI 3.5\ActiveX Support\Examples\MSVB),
08-20-2012 08:10 AM
In Vision Builder AI 2011, we no longer support ActiveX, but use a DLL instead. There is a dotNET and CVI example using the new API located under your <Vision Builder 2011>\API Examples folder. If you're using CVI, the function panel has help built in, if you're using LabVIEW, the context help for the VIs has more info. For dot NET, all we currently have is the example with comments, but we hope to have something more thorogh in a future release.
The reason we moved away from ActiveX support is because Microsoft no longer supports this technology and the new C DLL has many advantages over the ActiveX:
1 - multiple connections to VBAI engines can be opened simultaneously.
2 - you can have a local VBAI engine that you control and not just remote targets.
3 - improved speed in getting images, results
4 - better support (although documentation is lacking for dotNET)
5 - new functionality (i.e. getting the value for variables, getting any image in the inspection and not just the last one, being able to run once or run continuously, etc.)
Hope this helps,
Brad