LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error building executable

So I upgraded from Labview 7.1 to 8.6

 

When I tried to build my executable, all is going well until the last part of the build, where it saves the source files.  The error occurred when it tried to save the top-level vi (STABILITY TEST CONTROLLER.vi).

 

It says:

 

The build was unsuccessful.

 

Possible reasons

 

An error occurred while saving the following file:

C:\Program Files\MST3K\mst3k source files\STABILITY TEST CONTROLLER.vi

Invoke Node in AB_Source_VI.lvclass:Close_Reference.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoProperties.vi->AB_Item_OnDoProperties.vi.ProxyCaller
<APPEND>
Method Name: <b>Save:Target Instrument</b>

 

Details

 

Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:

 

Error 1 occurred at AB_Source_VI.lvclass:Close_Reference.vi -> AB_Build.lvclass:Copy_Files.vi -> AB_Application.lvclass:Copy_Files.vi -> AB_Build.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Build.lvclass:Build_from_Wizard.vi -> AB_UI_FRAMEWORK.vi -> AB_Item_OnDoProperties.vi -> AB_Item_OnDoProperties.vi.ProxyCaller

 

Possible reason(s):

 

LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.

0 Kudos
Message 1 of 4
(3,163 Views)
You will need to provide more information. Have you mass-compiled the VIs? Have you checked the mass compile report for any anomalies. Have you checked to code to see what changes were made when upgraded to 8.6. Are you using shared variables? Are you using any external libraries? Have you looked through the list of dependencies for the project to verify you have no "file not found" issues?
0 Kudos
Message 2 of 4
(3,155 Views)

Mass compile?  Yes, I did that.  Here is the result:

 

#### Starting Mass Compile: Wed, Oct 22, 2008 11:05:32 AM
  Directory: "C:\Program Files\MST3K\mst3k source files"
Skipping project already in memory: C:\Program Files\MST3K\mst3k source files\mst3k_project.lvproj
#### Finished Mass Compile: Wed, Oct 22, 2008 11:05:36 AM

So it just skipped the project file, but all else went fine.

 

No anomolies in compile report.

 

I already checked code and fixed 7.1 - 8.6 code issues.  The program RUNS and WORKS when I run from the labview vi.

 

No shared variables.

 

No external libraries.

 

Looked thru dependencies and saw no "file not found"

 

Is there anything else I can check?

0 Kudos
Message 3 of 4
(3,150 Views)

I had a problem that sounds possibly similar to this one. Check the names of the vi's you are using. Especially the top level. If I recall I had a strange space in one of my names and the build would fail.

 

Hope this helps.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 4 of 4
(3,133 Views)