05-05-2009 12:06 PM
Hi everybody,
I use VBAI 3.6 together with a SmartCamera 1744 and LabVIEW 8.6.1 and want to control the created inspections via ActiveX (perform the inspection, get the results etc.). Everything works fine - except for the following: When my VI accesses the ActiveX interface the first time, the following error popup comes up:
"LabVIEW: File version is later than the current LabVIEW version.
An error occurred loading VI 'HelpServer__NATIONAL INSTRUMENTS.vi'.
LabVIEW load error code 9: VI version (8.6) is newer than LabVIEW version (8.5.1)."
I assume that the ActiveX interface is written in LabVIEW 8.5 and that this is the reason for the message above.
How can I avoid this annoying popup? Formerly I accessed the ActiveX interface via LabVIEW 7.1.1; I had other problems, but not this one.
See screenshot of the error message in the attachment.
Carsten
05-12-2009 03:55 AM
Hi
you have to downgrade to LabVIEW 8.5.1
See also here: http://digital.ni.com/public.nsf/allkb/01C1CC3AF27EEB35862570F8007139AF?OpenDocument
07-30-2010 03:52 AM
Hello Carsten
Have you found the solution to this problem? I use LV 8.6 and run across the same situation occurring everytime I run the vi. When I checked Diana's link, it says that all versions above VBAI 3.5 run with LV 8.5.x. When using LV8.6, I "save for previous version" for 8.5 and run again on LV8.6 but still the application gives the same error. Does this mean we cannot use VBAI 3.6 Activex with LV 8.6?
Sincerely,
07-30-2010 08:51 AM
The whole point of the ActiveX control is to be able to control Vision Builder AI from different ADEs (LabVIEW any version that supports ActiveX, C, Visual Basic, .NET, etc.). So I wouldn't expect any problems with other versions of LV using the ActiveX control. The KB that Diana referenced is talking about what version of LabVIEW should be on the target, and Vision Builder AI installs the right version when you use Vision Builder to install software on targets.
I saw some CARs related to LV 8.6 and ActiveX, which LV 8.6.1 solved. Is this an option to try LV 8.6.1?
07-30-2010 09:09 AM
No 😞
07-30-2010 09:35 AM
If you right click on the ActiveX control in the LV 8.6 FP, go to NIVBAITargetControl>>Properties and make sure the version of the control is set to 3.6.0 or Latest. If neither of those work, you can try mass compiling your LV directory (this will take a long time so do it before you leave work).
Hope that helps,
Brad
08-01-2010 06:12 AM
None of those worked. I even re-installed VBAI and updated the target too. But again ending up with the same message everytime i run the example.
08-02-2010 03:46 AM
Hi Faisal,
no, I haven't found any solution for it; due to massive communication problems between SmartCamera and VBAI I have also thrown away this ... nice part and replaced by a firewall camera (of course I had to buy a full VBAI licence for this). With the customer's agreement I have gone back to LabVIEW 7.1.1 - and that combination (LV 7.1.1 and VBAI 3.6 and Firewire camera) really rocks !!
Regards to Pakistan!
Carsten,
Berlin, Germany
08-02-2010 05:43 AM
Thanks for the update Carsten. I guess i am not so lucky to change the setup at this stage. I was wondering if there was a way to atleast suppress / hide the error from popping up the first time the program starts?
Sincerely,
08-02-2010 06:14 AM
Hm, I don't know. Using LabVIEW 7.1.1 you don't have this annoying popup.
What you perhaps can do is to use AutoIt (just google for it), create a small script which automatically closes this popup when it appears and call this script from within LabVIEW (but this is just a dowdy workaround and no real solution).
Regards,
Carsten