Hi,
I have developed an application for a monochromator system using LabView 2012 (32-bit version) as my programming language.
My application performs calibrated scan using the Calibrated Photodiode from 300 nm to 1100 nm and then perform Device Under Test (DUT) scan from 300nm to 1100nm at an interval for 5nm.
My application crashses randomly when inside a for loop that goes from 300 to 1100nm at an interval of 5nm, whether it is performing a Cal Scan or DUT scan.
The one thing that is consistent is that it crashes whenever LabView executes my supplier’s .NET DLL/ function call. Once the application program goes into the monochromator function call, it does not give LabView the control back. The application is stuck inside the function call.
On Good days I am able to scan up to 30 parts with no crashing, while some days it can barely scan 5 parts. It is very inconsistent.
I am not sure if anybody have seen any problems using dll to interface with Labview 2012.
I have attached an image of problem I am encountering, where the LabView application is stuck in the DLL and it does not give control back to LabView.
I would appreciate any assistance on this subject.
Thank you,
Nirav