Jump to content
Sign in to follow this  
bfieldi

LV Conversion - Windows to Linux

Recommended Posts

We are considering porting a very large (~50,000 nodes) LabView application from Windows to Linux. My web searches are turning up bits and pieces of information regarding the differences between the 2, but I'd like to hear from someone who's gone through this exercise. Any words of wisdom?

:2cents:

Share this post


Link to post
Share on other sites
We are considering porting a very large (~50,000 nodes) LabView application from Windows to Linux. My web searches are turning up bits and pieces of information regarding the differences between the 2, but I'd like to hear from someone who's gone through this exercise. Any words of wisdom?

:2cents:

This looks pretty big and it would seem strange if you were not using some .Net, ActiveX, DDE , DAQ, GPIB, and DLLs/CINs in there somehow. Any of these and a few more can be a more or less big stumbling block depending on your experience in those areas.

Rolf Kalbermatter

Share this post


Link to post
Share on other sites

You also should expect some differences in fonts. That may sound minor, but when font changes mess up your nice GUIs ...

You can import truetype fonts into most of the major linux distributions. If you have much in the way of GUIs, do yourself a favor and bring over the same fonts from Windows and use have them set up on you linux box.

As for DLLs, if you have the source code you can make equivalent functions using gcc, etc, then change the call library nodes in labview to use mylibrary.* instead of mylibrary.doo or my library.so and labview will auto switch which library it links to based on the OS environment. You still have a lot of work, but this helps a little.

Share this post


Link to post
Share on other sites
We are considering porting a very large (~50,000 nodes) LabView application from Windows to Linux. My web searches are turning up bits and pieces of information regarding the differences between the 2, but I'd like to hear from someone who's gone through this exercise. Any words of wisdom?

:2cents:

I cheated -- used Vmware.

Share this post


Link to post
Share on other sites

EOL characters. Windows uses \r\n for an EOF, Linux uses \n. Best way around it is to make sure you use the EOF constant in the strings palette instead of putting your own in. Linux for LV and Win automatically ensure that these constants are right for the OS used.

May not be an issue for you, but in my Win >> Linux experiences, this is the only thing that bit me so far.

Share this post


Link to post
Share on other sites

Obviously paths and permissions become much more of an issue with linux. We tend not to think of such things much in the Windows world, but you'll probably have to add some management for those items in your linux version.

Share this post


Link to post
Share on other sites
We tend not to think of such things much in the Windows world...

We don't? :blink: I think MIcrosoft is going to be making this even more important in upcoming release(s) of their OS...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.