LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.exe file does not work on another computer

Hi all,

 

Recently i have ceated LabVIEW application from .vi to .exe file.

I tried to open this application on my computer with LabVIEW installed, it's working perfectly fine, but when i copied this file to another computer, which does not have LabVIEW installed, it didn't work properly.

By work properly, i mean the application can be opened but the data monitoring part is always showing zero, which is not true, seems like this application does not connect to the sensors at all. 

Any suggestions?

 

Thank you in advance,

Thanya

0 Kudos
Message 1 of 11
(4,999 Views)

Hello,

 

first :

you can't just copy the .exe file on another computer if labview isn't installed, you must use an installer that include your .exe

 

 Moreover :

Do you have some drivers that are not installed on the other computer ? 

your sensors have the same COMPORTS as your computer ? 

If you launch a VI with property nodes, you should include them in dependancies : beware of the loading path in the code, it changes when you use an .exe

 

 

 

Regards

0 Kudos
Message 2 of 11
(4,986 Views)

Did you install the necessary drivers on the other computer?  What are you monitoring?


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 3 of 11
(4,980 Views)

I'm not quite sure which are neccesary drivers but i have already installed LabVIEW run time 2012

but still face the same problem

 

I am monitoring data from NI OPC server.

0 Kudos
Message 4 of 11
(4,976 Views)

hi Tanya, Any specific error you getting ?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 5 of 11
(4,960 Views)

there is no error, I can open the application normally but the problem is it not connect to my sensors from the platform

1.JPG

 

0 Kudos
Message 6 of 11
(4,950 Views)

Add image little bit bigger so that we dont have to use microscop Smiley Very Happy

 

then this might be issue of any driver

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 7 of 11
(4,938 Views)

Smiley Embarassed

1.JPG

hope microscope isn't neccessary now Smiley Wink

0 Kudos
Message 8 of 11
(4,931 Views)

there are some ways to debug, add error indicators to your HMI, values/boolean indicators in some place of your code to see where it pass and where it doesn't.

Moreover the runtime labview may not be enough if you are using visa etc ... the best is to create an installer from your project with your exe (in labview 2013 it adds automatically the needed installer such as visa etc ...)

are you using comports etc ?

0 Kudos
Message 9 of 11
(4,889 Views)
If you wrote the software, you should know exactly what drivers you are using - DAQmx, NI-VISA, etc.
0 Kudos
Message 10 of 11
(4,883 Views)