LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vi shows an error and labview crashes

Hi...
       I have a problem with my labview 8.2 application. I had created my application in labview 8.0 and upgraded it to labview 8.2. It was working fine till now. But now the 'Run' arrow is broken and when I click on it the error window appears with a message saying "MyVi.vi error" (where MyVi is the vi's name). When I click on Show error or Close on the error window Labview crashes.
 
       If somebody knows why this is happening please let me know the solution for this problem.
 
Thank you,
 
Divya
0 Kudos
Message 1 of 13
(3,656 Views)
Hi Divya,
 
Have you tried opening examples to see if they open?  Also have you tried Mass Compiling a folder that all your VIs are in?
Brian K.
0 Kudos
Message 2 of 13
(3,634 Views)

Hi Brian,

I have tried opening examples in LabView 8.2. All examples work fine. If I create an application in version 8.2 it works.

I think it must be a problem in upgrading from version 8.0 to 8.2. I tried to create an error in my vi (like a broken wire) but my vi was unable to show me the error and LabView just closed. I have no idea what to do since it very difficult to locate errors in big applications.

Regards,

Divya

0 Kudos
Message 3 of 13
(3,617 Views)
Have you tried putting all the VIs from your application into the same folder and mass compiling them? Is their anyway to comment out code to isolate the issue?  I know you said it was a large project, but their has to be a way to isolate it down.
Brian K.
0 Kudos
Message 4 of 13
(3,606 Views)
How do I mass compile code in LabView?? I must say that I have no idea... The code will be automatically compiled right ?? correct me if I am wrong.
 
I found out that this problem is part of the upgrade issue in LabView 8.2... The workaround is also very vague...  It is very difficult to isolate a minute problem in a huge application..
 
The following link gives the upgrade issues in LV 8.2
 
 
Regards,
Divya
0 Kudos
Message 5 of 13
(3,589 Views)

Hi Divya,

Open the topmost VI of Ur project.

Then go to Tools-->>Advanced-->>Mass Compile...

It ll start to perform the Mass Compilation of the entire project.

This is the procedure in LV 7.1.

I dont know if it is changed in LV 8.2.

Do reply Ur findings & solution.

- Partha ( CLD until Oct 2027 🙂 )
Message 6 of 13
(3,585 Views)
In LabVIEW 8.2 it is the same, but you select an entire directory you want to compile.  So put your entire project into a specific folder (if you haven't already) and mass compile that folder.
Brian K.
0 Kudos
Message 7 of 13
(3,571 Views)
Hi,
 
I have put my project in one folder. Do I have to put all the vi's I am using into the same folder ? Right now I have created subfolders for all the subvi's inside my project folder.
During mass compile do all the vi's from the function pallette which we have used get compiled or are they ignored ??
0 Kudos
Message 8 of 13
(3,562 Views)

hi Divya,

U dont need to put all Ur VIs into one folder, U can maintain Ur folder heirarchy.

LV will automatically search for the corresponding sub-VIs of the topmost VI from the paths previously stored in its memory and do the Mass Compilation.

U dont need to worry at all... Smiley Wink

- Partha ( CLD until Oct 2027 🙂 )
Message 9 of 13
(3,555 Views)
Dear all,
sorry for my stupid question, but why is it necessary to mass-compile our applications?
 
Up to now I've never met problems with my Labview software, what could be the risks without mass compiling?
 
Thanks a lot
GcDago
0 Kudos
Message 10 of 13
(3,534 Views)