11-23-2011 10:00 AM
I have created a simple data base tool for writing and reading information from excel. When run in project explorer everything runs fine. But no matter how I build it as a stand alone application I run into a issue of missing files. The intitial star Vi opens fine but when I click to open one of the interfaces lab view starts searching for files that should be part of the install all over the hard drive and eventually gives me the following error. " LabView: An input paramater is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @. The file 'SubDisplayMessage.vi' could not be loaded.
Please help,
Scott
11-23-2011 11:35 AM
11-28-2011 08:28 AM
Thank you for the help but I don't think it's the exactly the same issue, I don't attempt to manipulate the path in any of my VI's. It seems more like some of the dependencies are getting lost or not being attached properly. In Project explorer I can run all the VI's properly,a control screen links to other VI's. The control screen becomes invisible and the new VI control panel opens. When run as an executable the Control screen operates correctly but the new VI never opens as it searches for Excel and other sub VI's.
I'm just not sure what's going on.
11-28-2011 08:32 AM
Are you using dynamically loaded VIs? Are they included in the build? Are you using the Report Generation Toolkit? If so, please provide what version you are using, as well as what LabVIEW version you are using. Are you sure you don't have any hard-coded paths that point to user-specific directories (that would be different based on the OS)?
11-29-2011 08:32 AM
I have attached a picture of the start up VI that call's up the other VI's as needed, I am using Labview 2010 SP1 and Report Generation Tool Kit 2009 SP1. When trying to access VI's form the start up VI as an application labview seems to get lost. Thanks for your help
11-30-2011 10:52 AM
I think this resource might help since you are using call by reference nodes:
Error 1 or 15 Opening Dynamic VI from LabVIEW Application
Tim W.
Applications Engineering
National Instruments
12-01-2011 01:31 PM
Where is the VI settings tab in application builder?
12-01-2011 01:40 PM
It's under "Source File Settings".
12-02-2011 06:21 AM
As referenced in Document ID:22H8MDUZ Error 1 or 15 Opening Dynamic VI from LabVIEW Application the remove front pannel was not selected and the Application still does not work. Here is a copy of my build app. Every time and every thing I try as I access a VI other then the start up VI Labview goes looking for files that are part of the build and never finds them.
12-02-2011 07:17 AM
So when you build an .exe file, what does the path change to ?
Are the path correct ?
Have you included the vi's you call dynamically in the source ? In the "Always include" list.
This KB might help you.