LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 2010 dll crash issue

Hello All,

 

I am using LV 2010 full development system, NI vision tools 2010 and Windows XP to create a .dll to control a FLIR SC305 IR camera using the GenICam interface.  The source code runs without an issue in the LV environment and the dll compiles without an issue.  The code is very simple, only using a few string controls and indicators and the configuration vi's to load attribute names used to control the camera.

 

When I test the dll in labview it runs but LV either locks up or disappears completely. I have attached the source and dll calling convention I am using.

 

Best Regards,

Karl

Download All
0 Kudos
Message 1 of 4
(2,844 Views)

Hey Beach Comber,

 

To understand the problem correctly, the VI works when you run it on LV development system, but locks up or disappears completely when in executable mode?

 

Have you tried running the thread as "Run in any thread" instead of "Run in UI thread"?

 

Regards,

A. Zaatari

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(2,811 Views)

Hello,

 

I have tried the "Run In Any Thread" with the same results.  I have attached the build log file if that is useful.

 

Regards,

Karl

0 Kudos
Message 3 of 4
(2,787 Views)

Hey Beach Comber,

 

Check out this KB that describes why your DLL might be crashing LV.

 

Good luck!

 

Regards,

A. Zaatari

National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(2,768 Views)