LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building an Application in Windows to be used in Linux (with the Run-Time Engine)

Hi All,

I have an LabVIEW project I have developed in a Windows environment.  I can create an Application (.exe) using the Build Specification -> Application Builder which works fine on the development platform.

I now want to distribute the application to a Linux Environment.  The OS is openSUSE v10.3 (with GNOME).  I have downloaded the two rpm files needed for the run-time engine and installed them, as per here:http://digital.ni.com/softlib.nsf/websearch/97E14BA3E0C14A89862572C300567733?opendocument&node=132070_US 

Now, the question is; how do I create an Application in Windows which can be used on the Linux Box?  According to the Application Builder instructions, it's simply a case of removing the .exe extension in the Target File Name options, however, this gives an error "Invalid Extension."

If I do create an exe and manually remove the extention is doesn't work on the Linux enviroment (typing ./application).

Has anyone had experiance of this?

Many Thanks for Any Help,

Oliver

---
Windows XP SP 2
Labview 8.2.1
---
openSUSE v10.3 (with GNOME)
LabVIEW Run-time Engine Version 8.2.1 for Linux

0 Kudos
Message 1 of 7
(4,170 Views)
I don't think you read the help correctly. In order to create an exe for Linux, you need to have the LabVIEW for Linux development system. The windows version only compiles windows exe's.
0 Kudos
Message 2 of 7
(4,166 Views)
Ah ha! Many thanks for the prompt reply.

So, I shall install LabVIEW Professional on the Linux Box, build the Application and then try to run it with the LabVIEW Run-Time Engine.

Many Thanks, I will post the outcome,

Oliver
0 Kudos
Message 3 of 7
(4,159 Views)
The cross-platform nature of LabVIEW refers more to the code than to the executable.

LV (given the appropriate development version) can compile the same source code into a Windows (using LV for Windows), Linux (using LV for Linux) or Mac (using LV for Mac) program.

This means you will still have three versions of your program, one for each platform.

If you want to distribute VIs (without block diagrams), you will also need different versions of these as without the block diagram, they cannot be re-compiled for a new platform.

Shane.
0 Kudos
Message 4 of 7
(4,158 Views)
Well, you can install the pro version of LabVIEW on your Linux box if you have it. the pro version of LabVIEW that you have installed on your windows box will not install on Linux.
0 Kudos
Message 5 of 7
(4,145 Views)
This of course, means you need to buy LabVIEW for Linux. One other option, depending on what you're doing, is to try to use Wine. However, this has not proven to be very reliable for LabVIEW.
0 Kudos
Message 6 of 7
(4,121 Views)
Again, Many Thanks for all your replies.

We have LabVIEW for Linux, so I will give it a shot and let you know.

Oliver
0 Kudos
Message 7 of 7
(4,111 Views)