LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i install labview application on linux?

Hello,
I have a small application that i built using Labview 7.1 for windows. I have been using this application on windows xp.
All the application does is, get an array of numbers from a file, calculate the min, max and average, and display the result in a simple 2D graph.
Now i'm in the process of switching OS from xp to Redhat Linux. Would i be able to use this same application in Linux without any modification? if so, how do i install the application on Linux? if not possible, what changes do i need to make to get it work on Linux?
Any help would be very much appreciated.
Thanks.
0 Kudos
Message 1 of 5
(2,969 Views)

It doesn't sound like you should have any problems with this, but you will need to get the linux version of LV. Once you do, you can open the VI in that version and (presumably) build an application.

One thing to watch out for is the way you build the path and file names. If you're using native LV functions (like Build Path) then you should probably be OK.

You might wish to go to the LV Linux home page for more details.


___________________
Try to take over the world!
0 Kudos
Message 2 of 5
(2,953 Views)

Thanks for your quick reply. I used  build path function to get  the paths, so as you said,  i won't have a problem. But the problem is buying a whole new development package . I was hoping for some application builder that can convert the windows based vi to Linux.

if i remember correctly, when i took the labview course, i was told that labview applications are platform independent. so, where is the independence? if we have to buy different development packages for different Os's.

 

0 Kudos
Message 3 of 5
(2,943 Views)

The platform indepedence is in the way the LV code is represented. You can open a VI you wrote in LV on windows in LV for Linux or Mac and it will work. The compiler embedded in the development environment turns the VI into platform-specific executable code in the same way that a C compiler would. The problem is that actual executable code is not transferable between OSes because they simply won't know how to execute it, just as it wouldn't work with a C built application.

If you don't want to buy LV for Linux you can try running a Windows emulator (like WINE) which might allow you to run your windows executable. Another option is to try contacting NI. They might decide to let you change your license from Windows to Linux. You should also consider that platform specific functions (like ActiveX) are not supported and that certain toolkits were only written for windows.


___________________
Try to take over the world!
0 Kudos
Message 4 of 5
(2,941 Views)

Thank you very much for your detailed explanation. I was a little frustrated about buying a whole new package.

 I will probably ask NI to see if they can change the license for me.

0 Kudos
Message 5 of 5
(2,938 Views)