10-14-2014 05:03 AM
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
10-14-2014 06:19 AM - edited 10-14-2014 06:25 AM
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
10-14-2014 06:22 AM
Did you install the necessary drivers on the other computer? What are you monitoring?
10-14-2014 06:30 AM
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.
10-14-2014 06:58 AM
hi Tanya, Any specific error you getting ?
10-14-2014 07:08 AM
there is no error, I can open the application normally but the problem is it not connect to my sensors from the platform
10-14-2014 07:24 AM
Add image little bit bigger so that we dont have to use microscop
then this might be issue of any driver
10-14-2014 07:31 AM
hope microscope isn't neccessary now
10-14-2014 12:26 PM
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 ?
10-14-2014 12:35 PM