Jump to content
highway

Run time engine with linux

Recommended Posts

Hi

I need to run labview VI's on a computer that has linux on it. I plan on only using the runtime engine on the linux computer and developing the vi's on a different computer. Can I develop the VI's using Labview on a computer that has windows as its operating system or do I need to develop them on a computer with linux?

Thanks for you help.

Share this post


Link to post
Share on other sites

LabVIEW is cross-platform. But there are a few caveats.

You can run a VI developed in Windows on a Linux machine that has LabVIEW installed. But I do not believe you can run an executable created in Windows on a Linux machine. You would have to take the code you developed in Windows and then create the executable file on the Linux machine. This would require having LabVIEW development environment installed on both machines.

Share this post


Link to post
Share on other sites

QUOTE (pallen @ Jul 18 2008, 01:17 PM)

You can run a VI developed in Windows on a Linux machine that has LabVIEW installed. But I do not believe you can run an executable created in Windows on a Linux machine. You would have to take the code you developed in Windows and then create the executable file on the Linux machine. This would require having LabVIEW development environment installed on both machines.

That's right - exe's built on Windows run on Windows only, exe's built on Linux run on Linux only.

Share this post


Link to post
Share on other sites

LabVIEW is cross-platform. But there are a few caveats.

You can run a VI developed in Windows on a Linux machine that has LabVIEW installed. But I do not believe you can run an executable created in Windows on a Linux machine. You would have to take the code you developed in Windows and then create the executable file on the Linux machine. This would require having LabVIEW development environment installed on both machines.

And it seems the application build in Linux does not work in Windows either.

:star:

Share this post


Link to post
Share on other sites

And it seems the application build in Linux does not work in Windows either.

How should that work? An exe build on Windows expects to run on Windows (or maybe Wine) and an exe built on Linux expects to run on Linux. Linux doesn't know how to load and run the Windows PE format that the LabVIEW exe stub is in, and Windows doesn't know how to run the elf startup stub that is in the LabVIEW for Linux executable. Executable Files are always specific to the platform they are created in, and can't be moved to a different machine architecture, independant if the the CPU type is the same.

In the case of LabVIEW VIs (not included in an executable but run for instance through VI Server) a similar limitation applies. VIs will only run in the runtime engine for which they were compiled and since the runtime engine doesn't have a compiler included this means you need to have loaded and saved them the last time on the same platform as you want to run them in a runtime engine.

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.


×
×
  • Create New...

Important Information

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