LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

App runs OK in LV7.1, but shows occational errors in Runtime engine

Hi,

We have developed a LabVIEW application that controls and monitors 4 instruments in parallel. The application consists of a GUI thread which catches all GUI events and passes them to a state machine-thread that is a reentrant vi running one instance for each instrument. There is also an instrument comunication vi as a separte thread, also reentrant with one instance for each instrument. The communication between threads and instances is handled through a queue based message system. The application runs flawless in LabVIEW 7.1, WinXP, but when we build an .exe with the application builder and run it with the runtime engine it appears as if some parameters from different instance of the reentrant state machine vi get mixed upoccasionally (and non repeatable). Very strange! Is there possibly a known problem with the application builder or the runtime engine?

Best regards
Andreas Trende

0 Kudos
Message 1 of 2
(2,546 Views)

Hi Andreas,

I am sure you looked for race-conditions, but I still want to mention it. It's easy to overlook and I remember some problems I had with executables. Programs running OK in LV but giving unexpected problems in the executable.

Hope this helps.

 

0 Kudos
Message 2 of 2
(2,521 Views)