LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

If I deploy a VI to a RT target will it's subVI be automatically deployed? Or will the subVI be running on my PC?

I have 1 top level VI for my Real Time target (a cRIO).  I have set up my project so that it will be deployed to my target when I run it.  But my top level VI has many dependent subVI.  When I depoly my top level VI to the RT target will it's subVI be automatically deployed?  Or will the subVI be running on my PC?  Can I reuse subVI on both the RT and PC sides at the same time?

 

project.png

0 Kudos
Message 1 of 3
(2,972 Views)

When you deploy a VI to an RT target, it deploys all dependencies of that VI. That VI, and all the subVIs it calls, execute on the RT target. There is no mode in which VIs running on one target (for example the cRIO) execute VIs running on another target (such as your PC) - with the exception of VIs called remotely through VI Server, which requires you to write code to make that happen. You can run the same VIs simultaneously on an RT target and on your PC - it's the same as asking if you can run the same VIs on two separate computers at the same time.

Message 2 of 3
(2,958 Views)

Interesting, this is all starting to make sense now.  

0 Kudos
Message 3 of 3
(2,910 Views)