08-14-2008 07:05 AM
I wrore a VI using Labview 8.5.1 and used Application builder to create a EXE so I could run it on other Lab machines. Application bulider creates the executable, however when I run the program (even on the machine with my working VI) it does not communicate with any of my instruments nor give an error message.
The original VI woks perfectly, I am communication with Agilent E4432B Signal Generator & Agilent E4402B Spectrum analyzer through VISA. If anyone can shed some light on what I am doing wrong I would greatly appreciate it.
OwenC
08-14-2008 07:46 AM
Owen,
In order for your .exe to have a chance at running on a target PC you will need to install LV Runtime and NI-VISA Runtime on the target machine along with the .exe. The version of LV Runtime should match the version of LV you used to create the .exe. The version of VISA Runtime should match the version of VISA loaded on your development machine. A quick way to do this is to create an installer using Application Builder.
Note: There may be other files that need to be installed as well depending on you vi.
08-14-2008 07:51 AM - edited 08-14-2008 07:54 AM
Hi Centerbolt,
Thank you for your valid suggestion. As mentioned though, when I ran into the isssue I tried to run the EXE on the machine where I developed the VI and had it running. Therefore I must have the proper drivers and required file on this machine. Still the EXE did not work.
PS: I had a demo version of Labview 8.5.1 running on the target machine, my developed VI worked fine, so I still have the instrument & VISA drivers installed
Owen
08-14-2008 08:06 AM
it does not communicate with any of my instruments nor give an error message.
Connec all the error connections.
08-14-2008 08:07 AM