04-16-2013 08:02 AM
Hi all,
I have LV-program on a WinXP PC, LV2009 development version connecting to a Keithley2612A via RS232.
That works fine so far.
Now, I try to "burn" an .exe of that program to be able to run it on a Laptop with Win7.
However, the .exe on the WinXP PC runs but it does not connect to the Keithley 2612A anymore.
Why not? What's wrong?
Where do I have to check and set special settings, options etc.?
Any hints are appreciated,
Theo.
04-16-2013 08:08 AM
I believe you need to install the latest runtime engine along with NI-Visa on the laptop.
Chris
04-16-2013 08:16 AM - edited 04-16-2013 08:17 AM
Follow Chris's answer. The correct answer is that you need to install the VISA runtime engine on the PC where you are running the .exe file.
It has nothing to do with "libraries" or dependencies.
04-16-2013 08:17 AM
Really?
Well, my bad.
I'm sorry.
Living and learning.
04-16-2013 08:28 AM
This is why we build installers for our applications. Create an installer and make sure to include the LabVIEW Run-Time Engine and the VISA drivers.
04-16-2013 08:58 AM
Thanks for your comments.
Maybe it was not clear:
I was not yet talking about the Win7 Laptop and the installed RunTimeEngine there. Actually, there ist the appropriate RTE installed.
My point is that the .exe even on the WinXP does not connect to the Keithley anymore.
Could it be that on the WinXP the RuntimeEngine is installed but not the RunTimeEngineVISA drivers? Do or can they be installed separately?
How to check?
I do get error messages that anything is missing when burning the .exe
So the VISA drivers should be there.
04-16-2013 09:02 AM
04-16-2013 10:11 AM
The VISA runtime is a separate entity from the LabVIEW runtime. You need to install both on your PC running the .exe if that PC doesn't have ethe LabVIEW development environmente installed.
04-16-2013 10:43 AM
04-16-2013 11:59 AM
sorry, I meant:
During "burning" the .exe on the WinXP PC, I do NOT get any error message. So the VISA should be there!
On the WinXP PC there is the development version installed.
Does it automatically include the RunTimeEnginge and the RTE-VISA?
On the Win7 laptop I installed the full RTE (not the minimum version), so if the RTE-VISA is not automatically included in the full version, I have to install it there.