12-21-2022 05:22 AM
Is it possible to deploy a existing RT program presently running on a Crio to different Crio with similar specs? If yes, How?
Thank you in advance.
12-21-2022 08:34 AM
Hi linu,
@linu95k wrote:
Is it possible to deploy a existing RT program presently running on a Crio to different Crio with similar specs?
Usually no, you need to recompile the executable…
@linu95k wrote:
If yes, How?
Open the RT project, and change the RT target inside the project. Then build your app and deploy it!
12-21-2022 08:40 AM
You certainly can try. I think it could work if the specs are very close, but you'd need to make sure the same NI software is installed on both, and the same version, as well as having the same modules in the same slots, and any other MAX related config be the same between them.
If all of this matches you can try to copy the RTEXE from one system to another and see if it works. For my Linux RT modules the binary is found at /home/lvuser/natinst/bin You will also likely need to copy over the config that states what application gets ran on start. Again for me this is found in the following file /etc/natinst/share/lvrt.conf
I would just give a very low likelihood that this will work depending on how different the two systems are. The right way is to add the new target in a LabVIEW project, and make a new build, or deploy to it from LabVIEW.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-21-2022 08:59 AM
If the controllers are running the same RTOS (see Real-Time Controllers and Real-Time Operating System Compatibility) and have the same software stacks, you can copy the RTEXE and config file. See Deploying a LabVIEW Real-Time Startup Executable Without the LabVIEW Development Environment.
However, if you are using FPGA, you must recompile the .lvbitx file from source FPGA VI. See Moving Examples to a Different FPGA Target
12-22-2022 12:57 AM
Thank you for the information I am trying to migrate from sbrio-9606 which runs VxWorks to sbrio-9607 which runs Linux RTOS as per the below link:
Is there any way I can migrate the code without recompiling as I don't have the source code available.
12-22-2022 02:15 AM - edited 12-22-2022 02:15 AM
Hi linu,
@linu95k wrote:
I am trying to migrate from sbrio-9606 which runs VxWorks to sbrio-9607 which runs Linux RTOS as
Is there any way I can migrate the code without recompiling as I don't have the source code available.
Simple answer: NO!
(Why do you even want to change a system when you don't have access to all needed software incl. code?)