Showing results for 
Search instead for 
Did you mean: 

How to deploy a VI to cRIO memory programmatically?

Go to solution

Dear all,


I would like to use the Remote panel (of LabVIEW) to control a VI under the cRIO from a client PC without the LabVIEW development system. I am thinking to build an exe file with the code inside can execute the Remote panel  programmatically. But the issue is that the VI is not loaded in the memory of cRIO. I tried 2 following methods:

1. I tried to deploy a VI to cRIO by WebDAV and put the VI to /home/lvuser/natinst/bin/ but it was failed as below.


2. Then I tried to load/execute the VI under cRIO via VI server but it was failed also.




3. I don't know if there is any methods to deploy a VI into the memory of cRIO programmaticallly as the Deploy action in the Project explorer.



Please help me to explain why I get the error in 2. and give me some possible methods for 3.


Thank you in advance.

0 Kudos
Message 1 of 5
Accepted by topic author anhduy92

You need to build and deploy your VI as a startup rtexe. See Configuring Remote Front Panels on a Real-Time Target

0 Kudos
Message 2 of 5

How about more than 1 VI I would like to remote panel?

0 Kudos
Message 3 of 5

@anhduy92 wrote:

How about more than 1 VI I would like to remote panel?

Why would you want to remote more than 1 VI?

There is only one rtexe running on a cRIO at a time. As a matter of fact, rtexe is designed to run without any front panel. Interaction with the front panel might introduce jitters to the system and impact the performance.

If you want to interact with the rtexe from the host PC, the best way is to create a separate host UI that communicates with the RT VI via shared variables or network streams.

See Understanding Communication Options Between the Windows HMI, RT Processor, and FPGA

0 Kudos
Message 4 of 5

I understood. I just ask for some further use. Thank you for you support.

0 Kudos
Message 5 of 5