LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executables crash if VISA sessions are implemented

Solved!
Go to solution

I'm using LabView 6i version 6.0 on a Windows XP machine.  I have several applications I've created which run fine under LabView, but the executables I build from them all crash.  I don't get any compiler errors.  I tried to build one of the serial communications examples which came with LabView, and that exe also crashes when I attempt to run it.  This leads me to believe that the problem isn't specific to what I've written.

 

I wrote a very simple piece of test code that doesn't have any VISA functions, and the exe I generate from that runs OK.  I have other executables I've built in the past that don't have any VISA code, and their executables still run OK as well.

 

Any known issues with VISA and building executables with LabView 6i V6.0?

0 Kudos
Message 1 of 9
(3,689 Views)

Did you include the VISA Run Time Engine package in your installer setup?

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 9
(3,685 Views)
I had seen some threads suggesting that a VISA run time engine might be needed.  What should I install?  NI VISA 2.5 runtime engine?  How do I force the installer to include this along with the LabView run time engine?
0 Kudos
Message 3 of 9
(3,678 Views)
I tried installing the NI VISA run-time engine version 2.6; this did not correct the problem.
0 Kudos
Message 4 of 9
(3,672 Views)

This sounds like the problem I'm having.

 

http://digital.ni.com/public.nsf/allkb/7E1C5C280E608A3A86256D3B007BADCD

 

The link on the page listed above to update to 6.0.2 is dead.  I am using the full development system + app builder; I only see updates for the base system on the NI website.

0 Kudos
Message 5 of 9
(3,657 Views)
Solution
Accepted by topic author B_Harmon

B_Harmon:

 

I haven't used v6 in years, I can't recall how to include the Visa RTE.

Below is a link to NI's ftp site for 6.0.2, I am not sure what exactly to download from there, hopefully it will help you.

 

ftp://ftp.ni.com/support/labview/updates/windows/6.0.2/

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 6 of 9
(3,647 Views)

After closer review, I noticed that there isn't a separate update to 6.0.2 for the FDS; you simply install the base system update and then update the RTE separately.

 

Thanks for your help.

0 Kudos
Message 7 of 9
(3,639 Views)

Note to anyone else reading this thread, the link on the referenced KnowledgeBase: http://digital.ni.com/public.nsf/allkb/7E1C5C280E608A3A86256D3B007BADCD

should be corrected within a few days.

Regards,

Jeremy_B

Applications Engineer
National Instruments
0 Kudos
Message 8 of 9
(3,617 Views)
Installing VISA support for serial only was very simple with 6.x. On the Create Installer tab, you just had to select serial support.
0 Kudos
Message 9 of 9
(3,609 Views)