LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Builder Error

Hi,
I am using Labview 8.0.1 and have a problem with the application builder.
 
I have programmed a software that is controlling our stack test station. This stack test station is capabel of testing 4 stacks independently.
The problem is, that there is some hardware (e.g. one Keithley), that is identically for all 4 testing places. In order to ensure, that no I-O-conflict can occur, I made one VI called Stack - Performance-Test\Stack-Inbetriebnahme - 10.vi, that is starting all VIs, that are controlling hardware. This VI is although the Frontpanel that is shown to the user.
If a measurement is startet, a VIT called Programm 4.VIT was started, that is doing the measurement. This worked fine and I had no problems making an .exe out of this.
 
As our research team wanted to do some tests that needed a slightly different routine, I copied the programm 4.VIT outsight Labview, renamed it to programm 6.VIT and then added it to the project. I changed the name of the VIT when opening it dynamically.
 
As I wanted to build an application out of the project, I always received the error message, that the programm 6.VIT was causing an error.
I then operated the VI in Labview and found two minor problems where some subVIs are called dynamically.
 
But now the hole programm runs fine - and I still receive the error message, when trying to build the .exe-file. Additionally, I get an error too, when I just take the main VI (where I only changed the name of the VI to call) and try to build it.
 
I attached both VIs, that seem to make problems. It would be great, if anyone has an idee, what is causing the problem.
 
Regards,
 
Frank
Download All
0 Kudos
Message 1 of 5
(2,878 Views)
Frank,
What is the error you are getting, and do you know from where? 
 
I took a look at the VIs and they are heavily overusing sequence structures and local variables and are therefore unreadible.  In addition you have hidden wires that go behind entire structure and you are not using the error clusters so it is a lot harder to debug the code.  If you are lucky based off the error we can guide you to finding it but as the code is written now any advice we give will be a total shot in the dark.
 
 
0 Kudos
Message 2 of 5
(2,871 Views)

Hi Evan,

thanks for the fast reply.

Yes - I know that the VIs are very messy - the result of too less time and bad planning...

The problem is, that I get no error description or error code - for explanation, I attach the error message I receive.

Thanks for helping me,

 

Frank

0 Kudos
Message 3 of 5
(2,855 Views)
I am assuming you clicked on the details error and that offered no help either.
 
I would suggest opening the VIT and holding down the shift-ctrl keys and then click on the run button.  That will force the entire hierarchy to recompile.  Then save them all and try again.
0 Kudos
Message 4 of 5
(2,834 Views)
Hi Evan,
 
I finally found the problem: I am using a global variabel in a sub-VI. When building the application I removed the Panel of this sub-Vi. Obviously this caused the error, but I have no idee why.
 
Could someone please explain to me??
 
Regards,
 
Frank
0 Kudos
Message 5 of 5
(2,802 Views)