LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

EXE runs only on machines with LV installed

Solved!
Go to solution

I updated a program that made the following changes:

Added a set up panel VI to consolidate data input information,starting quadrant control and added a user input for default file location.  This VI opens a new front panel and closes when completed.  The EXE version of this works only on machines that has the full LV installed.

The EXE of the old version distributed fine as an EXE with the app builder.  Now the new version does not run on the LVRT machines.

I'm sure I'm missing some check box in some set up panel like "re-entrant execution" or something like that.  Any clues will be greatly appreciated.

 

Thanks

DWH

0 Kudos
Message 1 of 15
(3,576 Views)

DWH, have you tried with a recent run-time engine version? You can download the latest version from http://joule.ni.com/nidu/cds/view/p/id/1101/lang/en

 

Ben

0 Kudos
Message 2 of 15
(3,554 Views)

Hi Ben,

I have not considered that since I haven't changed LV versions.  I'm using LV 8.5 and use the LV 8.5 RT engine.  That run-time engine still works fine on the old EXE's.  Is there an update for the LVRT 8.5?

 

Thanks,

DWH

0 Kudos
Message 3 of 15
(3,543 Views)

DWH, My first post is a link to LabVIEW 8.6 run-time engine and this should be used only if you modified you vi with LV 8.6. If your vi update was made with a more recent version of LabVIEW than the original vi you should upgrade the run-time engine to match you LabVIEW version.

 

Ben

0 Kudos
Message 4 of 15
(3,542 Views)

Check this link, there is a  LabVIEW85RuntimeEngineFull.exe version, maybe this version will work.

 

http://joule.ni.com/nidu/cds/view/p/id/861/lang/en

 

Ben

0 Kudos
Message 5 of 15
(3,539 Views)

Thanks Ben, I'm downloading it now and will try it.  I'll post the results later

 

DWH

0 Kudos
Message 6 of 15
(3,534 Views)

If the previous exe worked with the run-time that is loaded, then it is not an issue with the run-time engine.

 

How are you opening the new front panel? Are you calling the VI dynamically? If you are, did you manually include the VI in the build? If you are specifying the path, are you using the Current VI's Path function?

0 Kudos
Message 7 of 15
(3,517 Views)

Hi Ben

Thanks for your replies.  I installed the LVRT but it still didn't work. 

 

0 Kudos
Message 8 of 15
(3,496 Views)

Hi Dennis,

I'm not sure what is considered calling the VI dynamically.  I have it open when the VI is called and it closes when it is completed.  The VI does show up in the "dependancies" section when I'm building the app so I left all other items at their default settings.  In the source files of the app builder, I'v set the main file as the start up window, then used both the default settings and tried to have the files included as part of the EXE file.  I have seen a message box flash on the screen and was able to capture it on a slow running PC. It is eraching for NIAALpro.lvlib and it is found in an instr.lib.  What I think I need to do is have the EXE not call any external files.  Any hints on how to do that?

 

Thanks

DWH

0 Kudos
Message 9 of 15
(3,495 Views)
Solution
Accepted by topic author Wafer_Mapper
That's not in the instr.lib. It's an analysis lvlib in vi.lib. Did you create an installer for the exe or did you just copy the exe over? You should really always use an installer. I suspect one of the support files is missing - lvanlys.dll that is supposed to be in the data folder under the app.
Message 10 of 15
(3,478 Views)