LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exe file generating problem.

Solved!
Go to solution

Hi,
     I want to create an exe file for my LV  program in that i have 2 subvi along with that i need to create an exe file and i need to run the exe on the another computer which does not have the labview. can you help me to create the exe file along with that two subvi.

0 Kudos
Message 1 of 9
(669 Views)

Hi Raj,

 


@Rajsakthi wrote:

I want to create an exe file for my LV  program in that i have 2 subvi along with that i need to create an exe file and i need to run the exe on the another computer which does not have the labview.


  1. Create the EXE on your development computer.
  2. Then create an installer for your EXE on your development computer.
  3. Copy the installer to your "another computer".
  4. Install the EXE on this "another computer" and run it.

Which step do you need help?

What have you tried and where are you stuck?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(666 Views)

on the another computer i have labview runtime. is this enough or i need to create an installer.

 

0 Kudos
Message 3 of 9
(663 Views)

Rajsakthi_0-1707472715774.png

Rajsakthi_1-1707472753576.pngRajsakthi_2-1707472773020.pngRajsakthi_3-1707472815063.png

This is what i done to build an EXE. when i tried with another laptop it is not working.

0 Kudos
Message 4 of 9
(658 Views)

@Rajsakthi wrote:

This is what i done to build an EXE. when i tried with another laptop it is not working.


What is not working?

 

Any errors? Does it behave incorrectly? Does it crash? BSoD?

 

Tell us what's happening and what you expect.

 

If the problem is in the code, we need to see at least the part that gives the problem.

0 Kudos
Message 5 of 9
(643 Views)

@Rajsakthi wrote:

on the another computer i have labview runtime. is this enough or i need to create an installer.


The RTE is indeed enough to run an exe (or even VIs if they contain compiled code and all resources are available).

 

If you use VISA, or other packages, you'd need to install those as well.

0 Kudos
Message 6 of 9
(624 Views)

Actually the program is executed perfectly in the LV development environment system. when i convert it to EXE the data reading is not taking to the application.
The other application what i have developed is working perfectly in other laptop but the program contains subvi is not executing.

0 Kudos
Message 7 of 9
(607 Views)

@Rajsakthi wrote:

Actually the program is executed perfectly in the LV development environment system. when i convert it to EXE the data reading is not taking to the application.
The other application what i have developed is working perfectly in other laptop but the program contains subvi is not executing.


We can't guess what's wrong from only that description.

 

Relative paths change when building executables, especially if you use VI paths...

0 Kudos
Message 8 of 9
(589 Views)
Solution
Accepted by topic author Rajsakthi

wiebe@CARYA wrote:
Relative paths change when building executables, especially if you use VI paths...

To clarify, problems occur is you use "current VI path" incorrectly (details).

 

Looking at your build specs, I very strongly recommend that you don't build to a destination that is monitored (Onedrive, google drive, etc.).

0 Kudos
Message 9 of 9
(526 Views)