Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Programmatically Deploying a VI to a Real-time Target

Hardware: PXI/CompactPCI>>Controllers

Problem:
I would like to write a VI for my Windows host machine that will programmatically deploy another VI to my Real-Time target.  Is this possible?

Solution:
The deployment process loads a VI onto the RAM of your RT target.  The program is not actually copied to the hard drive of the target.  If you want to programmatically deploy a VI to an RT target you must have the VI in a project that is has the RT machine added as a target.  You then can then use property nodes and invoke nodes to deploy the VI.  This Community Example demonstrates this.


Note:
You can programmatically launch a VI on an RT target by copying the VI to the RT target and then using VI Server to run the program.  Use the FTP Put File.vi to first copy your Real-Time VI over to your controller using  Then programmatically launch the Real-Time VI. See the picture below for an example of how the FTP Put File.vi could be used for this purpose.

For more information on the FTP Put File.vi, see the Related Links.

Related Links:
KnowledgeBase 3R6FJJ7U: How to Programmatically Launch a VI on a Real-Time (RT) Controller LabVIEW 8.6 Help: FTP Put File VI.
Programmatically Deploying a VI Community Example

Attachments:





Report Date: 04/22/2008
Last Updated: 04/08/2009
Document ID: 4KLKH48A

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit