LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mass compile error

Solved!
Go to solution

Hello,

 

When I try to build the vi calculate location into an executable I get an error.

 

I have tried to mass compile the .llb it is located in but it returns a "bad vi"

 

I can open the vi with no problem in LabVIEW

 

Please advise

Dan Shangraw, P.E.


   

Message 1 of 5
(2,696 Views)

Hi,

 

It is a problem with your type definition. Just right click on Excel data members\Excel data members out and select disconnect from Type Def then click OK.

What's your version of LV ?

 

Regards,

Message Edité par Steve Mohamed le 01-21-2009 05:57 PM
Steve M.
0 Kudos
Message 2 of 5
(2,682 Views)
My version is 8.5.1

Dan Shangraw, P.E.


   

0 Kudos
Message 3 of 5
(2,665 Views)

Note that the calculate location vi is the only one which makes any reference to another library.

 

My guess is that while LabView may know where this specific library is and use it when it needs to, when you attempt to compile the that vi into an executable, LabView does not by default attempt to copy the library as well, or has some error while trying to link with it. I have only recently begun using LabView, but have already noticed some querks while using outside libraries.

 

Just a thought... 

0 Kudos
Message 4 of 5
(2,659 Views)
Solution
Accepted by topic author ASTDan

 I think I solved the problem.  You have pointed me in an interesting direction.  When I build my application I deselect the "Disconnect Type Def" option, and I get a sucessfull build.

 

Thanks

Dan Shangraw, P.E.


   

Message 5 of 5
(2,635 Views)