LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling a LabVIEW application for Linux

Hi
 
I am posting this question again as I am still a little confused and am being hassled considerably by my hardware colleagues to give a straight answer.
 
I have built my labVIEW application in Windows LabVIEW 7.1 (for Windows XP).   However we are looking into the possibility of running the system on Linux.  I release I need to purchase the full development version of LabVIEW (for Linux) to do this and also I need to purchase the applications builder.  However, how easy is it make my code built in LabVIEW for Windows XP in run in LabVIEW for Linux.  Is there a simple conversion tool?
 
Hope somebody out there can help. 
 
Thanks
 
Ash
0 Kudos
Message 1 of 4
(2,885 Views)


@Ashley.w wrote:

Is there a simple conversion tool?

Yes, it's called LabVIEW for Linux.

The development environment is the same on the different platforms. You can take the VI you wrote in Windows and simply open it in LV for Linux and keep editing it there.

The catch is that some things won't work. For example -

  • Windows specific technologies, like .Net and ActiveX.
  • DLL calls, where you need to replace the DLL with a Linux shared object.
  • Path issues, like if you're building a path by appending strings instead of using the Build Path function.
  • Calls to the System Exec VI.
  • Toolkits and modules which are only supported in Windows.

Basically, you just need to see that you don't have Windows-specific code in your application and, if you do, modify it to work on Linux. You can try asking your local NI office for more specific details about your application.


___________________
Try to take over the world!
Message 2 of 4
(2,879 Views)

Thanks TST

I will probably be OK.  I have some Matlab script in my code which may prove a problem.  I will have to work round this.

Many thanks and happy Christmas and New Year

Ash

0 Kudos
Message 3 of 4
(2,872 Views)
Ashley.w wrote:
>Hi
> 
>I am posting this question again as I am still a little confused and am being hassled considerably by my hardware colleagues to give a straight answer.
> 
>I have built my labVIEW application in Windows LabVIEW 7.1 (for Windows XP).   However we are looking into the possibility of running the system on Linux.  I release I need to purchase the full development version of LabVIEW (for Linux) to do this and also I need to purchase the applications builder.  However, how easy is it make my code built in LabVIEW for Windows XP in run in LabVIEW for Linux.  Is there a simple conversion tool?
> 
>Hope somebody out there can help. 
> 
>Thanks
> 
>Ash


the conversion is automatically done
when you open the vi's on the linux machine.

some tips to check to avoid problems:
-don't have HW references
-filepath hardcoded
-use of some "strange" not standard fonts

Bye,
Pets
0 Kudos
Message 4 of 4
(2,867 Views)