PDA

View Full Version : Labview 2009 crashes when IC.ImagingControl3 Class is inserted



ttp14
June 24, 2010, 14:05:48
We are using several computers with labview 2009 in our labs. Most of them are working fine with the IC-Labview extensions, but on two of them (identical new DELL's) Labview 2009 crashes when the IC.ImagingControl3 Class is loaded.
The problem does not appear when labview 8.2 is used (but we do not have a license). There are no error messages or log files. We reinstalled Windows 7 on one of the DELL's but labview keeps crashing.
Because we are not facing such problems on any other workstation, i think its some kind of a hardware incompatibility. Is there a known bug? Has anybody an idea?

Here is the hardware setup of our DELL Vostro 220:
http://support.dell.com/support/edocs/systems/vos220/en/sqrg/sqrg_en.pdf
We have the E5300 2.6GHz processor

Stefan Geissler
June 24, 2010, 15:39:39
LabVIEW 2009 ends without an error message as soon as IC Imaging Control ActiveX is loaded.

We tested LabVIEW 2009 in a higher Windows than XP and found the same problem you found. The error is caused by Visual Studio 2003 ATL, which was used for the IC Imaging Control ActiveX. You can workaround by opening a command line as administrator and type:

bcdedit /set nx AlwaysOff

Then reboot.

To restore the setting, if you do want to use it, type

bcdedit /set nx OptIn

Then reboot.

We considered to use the IC Imaging Control .NET component instead of the ActiveX control, but then we will loose LabVIEW 7 compatibility. Also exchanging the ActiveX against the .NET component is like programming the LabVIEW Extension completely new, even if all methods and properties are the same, because of the LabVIEW concept and its limitations.

You may look here for more information about bcdedit: http://technet.microsoft.com/en-us/library/cc709667%28WS.10%29.aspx

ttp14
June 25, 2010, 09:27:20
Jap! That solved it.
Really good support :good:
Thanks a lot!