06-09-2023 02:09 PM
Hi All,
I am just about to migrate our software from using Pharlab Os to Linux RT os.
What is the recommended way of deploying our software to the controller? through project -> deploy or through NI Max?
in Pharlab, we would use NI MAX to update or install our own software.
would *.rtexe be able to be run on Linux? if not how do i convert it such that it can be run on linux?
06-09-2023 03:11 PM
1. Find a PXIe controller that supports Linux RT, then install Linux RT OS on it. See Provisioning a Controller to the NI Linux Real-Time Operating System
2. Install software to it through NI MAX. Installing Software on NI Linux Real-Time PXI Controllers.
3. The same project can be run on the Linux RT target but it needs to be re-compiled. If you are using any toolkit or third-party DLL, make sure they have been ported to Linux RT or compiled into the SO shared library.
Rebuild the rtexe from your LabVIEW project.
06-09-2023 03:43 PM
Recompile as in just open up the project for pharlab in labview then recompile it (any settings or flags need to be updated?)
06-10-2023 03:07 AM - edited 06-10-2023 03:09 AM
@asadilan wrote:
Recompile as in just open up the project for pharlab in labview then recompile it (any settings or flags need to be updated?)
If you only used NI Standard functions there is a fairly good chance that you simple can add your Linux RT target to the project and add the VIs to it as you did for your Pharlap project.
But you need to add a new target for sure. Your old farget in your project “remembers” that it needs to compile things for your specific Pharlap system and you can’t change that.
Anything like DLL calls or 3rd party Toolkits that are not pure LabVIEW source code will likely be serious work to change into Linux RT compatible code.
And no, an rtexe file will not be possible to be run on your normal Ubuntu, Suse, Fedora, Red Hat or whatever Linux distribution. For that you need explicitly LabVIEW for Linux.