LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing TypeDef XDnode RunTimeDep.lvlib

I have small project with only two VIs . One is Login with a password dialog box. Once the user enters the password for his name, the Login.VI unloads and loads the Main.VI. All of these work fine in the Project design mode. Bu the moment I build the exe things dont work :

 

1. If the EXE file is in a separate folder when I click Login, nothing hapopens and the Login VI just converts to design mode and stops.

2. if the EXE is moved to the project folder the Login unloads but the Main.VI loads broken. If I click the broken arrow I get a dialog that says three missing Controls ( see attachment )

 

I am sure this has nothing to do with my code as the Login VI and Mani VI work fine otherwise in design. This seems to be some issue cropping up while building the EXE. Any help to overcome this welcome. ( The MASS COMPILE before building the EXE and the building process itself were without erros / warning ) Using LV2012 on Win 7.

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 1 of 7
(3,184 Views)

Please read the LabVIEW Help --> Fundamentals --> Building and Distributing Applications for tips on how to avoid path issues.  (And lots of other good stuff, too.)

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 7
(3,167 Views)

Probably easier would have been to include the login VI as a subVI in your main that shows its front panel as a dialog.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 7
(3,164 Views)

OK for the time being the problem is solved by invkoing the "LabVIEW 8.x file structure" in Advanced tab of Application Builder.

 

But I would like to more on this as I do not understand how to create a file structure in project that does NOT need me to invoke the LV8.x file structure. I have attached a small screen shot with notes as to how I normally build my project file structure. What am I doing wrong there ??

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 4 of 7
(3,147 Views)

I suspect that's only a workaround to fix what is really happening.  I'm guessing that you are using absolute paths to your VI and they are no longer valid when running the executable.

 

Search for: Referencing Source Files in Stand-Alone Applications and Shared Libraries - because I'm not sure where this is in the help file, sorry.  Do you think this might apply to you?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 7
(3,129 Views)

Yes I have read the help file that was suggested. Earlier and even now also. But maybe I am missing out something on the structure I create. I never use absolute file paths anyway.

 

Please see my earlier post where I have given a snapshot of the file structure that I normally use. Thanks.

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 6 of 7
(3,114 Views)

I did take a look at it and it looked totally fine to me.

 

I Googled something interesting that might be of help.

 

Why Does My Executable Not Work When Using the Current VI's Path Constant?

 

I'm hoping that maybe this is what is occuring.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 7
(3,090 Views)