LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 2013 executable works only on develoment machine?

Solved!
Go to solution

Hi all

 

I created an executable so as to distribute my test software but it only runs on the development machine. I have successfully distributed my executables before with labview 2012 on target machines by simply creating the .exe in project explorer and then installing the nessary labview drivers and run time engine without problems. Now I created a new test programme with Labview 2013 and I can't get my new .exe test software application to run on the target machine. Has anyone seen this type of problem before?  Any assistance will be appreciated.

 

Thanks

0 Kudos
Message 1 of 17
(3,941 Views)

Hi SoIPS,

 

did you create an installer with your EXE? Or did you just copy the EXE and installed anything else on your own?

Best regards,
GerdW


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

@SolPS wrote:

Hi all

 

I created an executable so as to distribute my test software but it only runs on the development machine. I have successfully distributed my executables before with labview 2012 on target machines by simply creating the .exe in project explorer and then installing the nessary labview drivers and run time engine without problems. Now I created a new test programme with Labview 2013 and I can't get my new .exe test software application to run on the target machine. Has anyone seen this type of problem before?  Any assistance will be appreciated.

 

Thanks


Are you using the compatible run time engine on the target machine.?

http://digital.ni.com/public.nsf/allkb/800E68EBF895BD96862570770051FF36

 

0 Kudos
Message 3 of 17
(3,936 Views)

Sounds like you need to install the LabVIEW 2013 Run-Time Engine.  The 2012 RTE cannot run 2013 executables.  As has been said, I recommend creating an installer that includes the RTE and any other drivers you need.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 17
(3,931 Views)

Crossrulz,

 

I did exactly that.  I developed the test software with labview 2013 and created an installer that included the 2013 RTE. I still couldn't get it to run on the target machine.

0 Kudos
Message 5 of 17
(3,907 Views)

Hi SoIPS,

 

what kind of errors do you get? Atleast the executable should not claim for missing RTE...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 17
(3,899 Views)

In addition to the run-time engine you are likely missing some other installers.  Lets say you used RS-232 code in your EXE well now you need to install VISA run-time on the new machine.  Did you use DAQ?  Now you need DAQmx.  Did you use NI-Scope? NI-DMM? NI-Power? NI-Switch?  You'll need to install those as well.

 

In 2013 the process of making an installer can detect what installers you need.  In previous versions you just have to know which you used and select them in the Additional Installers section.

0 Kudos
Message 7 of 17
(3,898 Views)

GerdW,

 

The VI is a state machine. It doesn't show any error message when I try to run the executable, it simply doesn't go past the initialization state and it freezes. The stop button on the VI becomes unresponsive. I'm only able to stop it by clicking the emergency abort icon but I can run the same exe on my development machine without any issues.

0 Kudos
Message 8 of 17
(3,889 Views)

Hi SoIPS,

 

so what does your program try to initialize? Did you include any needed driver (like VISA) in your installer?

Best regards,
GerdW


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

Hooovahh,

 

I also thought I was missing some installers and deceided to create both the installers and  exe application in project explorer. I got an error message about some installers not being available on my computer when I tried to build the installer. This error message went away once I inserted my labview 2013 device driver cd in my computer.  Afterwards, I was able to build the installer without any error message. Now when tried deploying that application, it still didn't run.

 

Thanks

0 Kudos
Message 10 of 17
(3,877 Views)