LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to run executable in windows 7 64.

I developed an application using labview 8.5. Created an executable from it.

 

In windows XP i installed the labview runtime engine 8.5 and visa runtime and my EXE worked fine.

 

Tried the same on windows 7 64 and my application hangs the PC, tried the latest visa runtime with no success.

I basically uses a serial port (com 1) to comunicate witha device.

 

Tried to run it as windows xp compatible, same problem.

 

Any ideas?

0 Kudos
Message 1 of 5
(4,813 Views)

Don't know why it fails in xp mode (except 8.5 is not supported under windows 7) but you of course cannot run it in windows 7-64. You need a 64 bit version of LabVIEW installed in a 64 bit OS and create the application there. For this you need to upgrade your version of LabVIEW.

0 Kudos
Message 2 of 5
(4,809 Views)

Wasnt trying in xp mode but xp compatible, the property you get from the right click on the EXE file.

Anyway, i will try to download the 64 version of labview and port my application to it.

 

Can i choose if the application will be 64 or 32 or i need both labview to build to both types?

0 Kudos
Message 3 of 5
(4,796 Views)

Hi Malanar,

 

32-bit LabVIEW (including LabVIEW-built applications) is definitely supported on 64-bit Windows 7, but official Windows 7 support started with LabVIEW 2009. Is the version of VISA you installed compatible with Windows 7? See these links for more details: LabVIEW 64-Bit vs. 32-Bit Applications FAQ and National Instruments Product Compatibility for Microsoft Windows 7.

 

Brad

 

---
Brad Keryan
NI R&D
0 Kudos
Message 4 of 5
(4,770 Views)

Thanks for the reply.

 

Here is my setup:

the runtime for labview  -  LabVIEW85RuntimeEngineFull.exe

the visa runtime - visa501runtime.exe

and windows 7 64

 

The application was developed on labview 8.5

 

According to this URL (https://www.ni.com/en/support/documentation/compatibility/09/national-instruments-product-compatibil...), the minimum versios of VISA is 4.6.

And checking your FAQ link i got this:
Q. Can I run an executable built with LabVIEW 32-bit on a 64-bit PC?
A. Windows can run 32-bit executables on a 64-bit PC. Therefore, the LabVIEW 32-bit Development System, Run-Time Engine, and executables can be run on Windows 64-bit.

I can send the file, its a stand alone executable, just click and run, no installation required.

0 Kudos
Message 5 of 5
(4,765 Views)