LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RT Exe deployment to different devices

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.

0 Kudos
Message 1 of 6
(1,313 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(1,292 Views)

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.

0 Kudos
Message 3 of 6
(1,283 Views)

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

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 4 of 6
(1,275 Views)

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:

https://www.ni.com/en-in/support/documentation/compatibility/17/real-time-controllers-and-real-time-...

 

Is there any way I can migrate the code without recompiling as I don't have the source code available.

 

0 Kudos
Message 5 of 6
(1,242 Views)

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?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(1,223 Views)