Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

VBAI and HelpServer problem

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

0 Kudos
Message 1 of 10
(4,499 Views)

Hi

 

you have to downgrade to LabVIEW 8.5.1

See also here: http://digital.ni.com/public.nsf/allkb/01C1CC3AF27EEB35862570F8007139AF?OpenDocument

 

Regards
DianaS
0 Kudos
Message 2 of 10
(4,458 Views)

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,

0 Kudos
Message 3 of 10
(4,151 Views)

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?

0 Kudos
Message 4 of 10
(4,142 Views)

No 😞

0 Kudos
Message 5 of 10
(4,139 Views)

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

0 Kudos
Message 6 of 10
(4,137 Views)

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.

0 Kudos
Message 7 of 10
(4,097 Views)

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

0 Kudos
Message 8 of 10
(4,079 Views)

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,

0 Kudos
Message 9 of 10
(4,069 Views)

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

0 Kudos
Message 10 of 10
(4,066 Views)