LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS 232 and RunTime .exe

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.

0 Kudos
Message 1 of 12
(3,746 Views)

I believe you need to install the latest runtime engine along with NI-Visa on the laptop.

 

Chris

0 Kudos
Message 2 of 12
(3,739 Views)

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.

0 Kudos
Message 3 of 12
(3,732 Views)

Really?

Well, my bad.

I'm sorry.

Living and learning.

Mondoni
0 Kudos
Message 4 of 12
(3,725 Views)

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.


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 5 of 12
(3,718 Views)

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.

0 Kudos
Message 6 of 12
(3,695 Views)

http://joule.ni.com/nidu/cds/view/p/id/2914/lang/en

 

This is the NI-VISA download. 

 

Chris

0 Kudos
Message 7 of 12
(3,690 Views)

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.

0 Kudos
Message 8 of 12
(3,670 Views)
first you make sure you got VISA drivers installed on your window
SS_Hunter
0 Kudos
Message 9 of 12
(3,662 Views)

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.

 

0 Kudos
Message 10 of 12
(3,666 Views)