LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to locate the LabVIEW on Linux

Helo, 

 Sorry for my english

 

I compiled attached "WhileLoop.vi" file in LabView 2016 32-bit  into appW.exe file on my Windows 10. 

I would like to run this appW.exe on Linux (Fedora 25).

Because appW.exe is not for Linux ..

I used wine application on Fedora and Install LabView real time 2016 from 

http://www.ni.com/download/labview-run-time-engine-2016/6064/en/

and have installed: 

labView-2016-rte-16.0.0 -3. x86_64

labView-2016-rte-32bit-16.0.0.-3.i386

 

After I use  # wine appW.exe  command the Labview error occured ( In attached)  

 Unable to locate the LabVIEW Runtime Engine. 

 

How Can I fix this bug, what can be wrong set?

 

Thank you for any help you can provide.

Michal

 

Download All
0 Kudos
Message 1 of 10
(6,974 Views)

Well first, that is a core burner!

CAUTION: do not run the exe!

 

So you used a windows version of the app builder. and you expect it to run on a Unix? why?


"Should be" isn't "Is" -Jay
Message 2 of 10
(6,961 Views)

The poster said he tried to use Wine to run the exe.  Wine is supposed to allow you to run Windows apps on Linux.

Message 3 of 10
(6,951 Views)

@lh845 wrote:

The poster said he tried to use Wine to run the exe.  Wine is supposed to allow you to run Windows apps on Linux.


Thanks,  obviously a quick Google Search did not reveal that information!  I use "Wine" for other reasonsSmiley LOL


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 10
(6,935 Views)

My WAG would be that Wine doesn't recreate the appropriate paths that allow the exe to "find" the Runtime Engine. The RTE is "installed" on a Windows system, putting the appropriate info in the Registry, then when the exe is run it has "associations" to the RTE. Not sure how this is done in WINE under Linux.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 5 of 10
(6,930 Views)

Thank you all for your answers, 

 

Is there any another way  how to run that .exe file compiled in Windows on Linux server or computer? 

 

Thank you for any help you can provide

0 Kudos
Message 6 of 10
(6,879 Views)

So you have a LabVIEW program that you want to run on Linux?  There is a LabVIEW for Linux -- I don't know if you can build stand-alone Executables with it, but if it allowed that, then those executables should certainly run on your Linux system.

 

Bob Schor

0 Kudos
Message 7 of 10
(6,866 Views)

Well the LabVIEW RTE files you installed sound like Linux RTEs. They won't work for an exe that runs under Wine. Instead you need to install the LabVIEW for Windows Runtime engine under Wine in order to maybe be able to run your exe under Wine. Maybe because LabVIEW on Wine is not a supported combination. It could work but can just as well cause some problems somewhere. I did at some point try to install LabVIEW 7.0 or similar under Wine and while it was possible it was not quite straightforward. Modern LabVIEW versions however make use of many new Windows APIs that Wine might or might not provide in a fully functional way.

While Wine is not a complete virtualization platform but more a translation layer between the Windows API that exe files expect and the Linux kernel, it only translates Windows standard features, not something like the LabVIEW runtime engine.

 

So if you want to run a Windows exe created with LabVIEW under Wine you also need the Windows Runtime engine installed in Wine.

If you have LabVIEW for Linux and create an executable in that you need the LabVIEW for Linux Runtime engine that you seem to have installed. However LabVIEW for Linux needs its own license and needs to be purchased separately if you are not using LabVIEW as part of an educational site license. If you use LabVIEW from an educational university license you need to contact your IT departement to learn how you can obtain the Linux installer for LabVIEW from them and then you need to build your program from within LabVIEW for Linux.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 8 of 10
(6,856 Views)

Would you be so kind and send me url address where I can download LabVIEW for Linux student version 32b or free beta version? 

I can not find it on ni.com web pages.

 

Thank you for any answers

Michal

0 Kudos
Message 9 of 10
(6,828 Views)

It's not freely downloadable like the Windows version since it is not activated with a software license like on Windows. You need to contact NI directly to obtain a media with the installer, and that usually also means to buy the according license. You may be able to negotiate some trial period with your local NI sales representative. This is anyways the preferred contact for such issues. He or she can decide about trial versions and special conditions that may apply for you. 

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 10 of 10
(6,823 Views)