Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Start a VI in the RT target from a VI in Host PC

Hi,

 

Learning RT applications...  I would like to acquire data using PC + RTOS + FPGA combination. My first VI is in the PC, to read a set of shared variables located in RT target, by TCP/IP. These shared variables are updated by a second VI that runs in the RT target. There is one more VI that runs in FPGA, whose reference is used in the second VI.

 

Everything works fine but to begin every time, I need to start both the VIs (one in the PC and the one in the RT target) individually from the project explorer.  (Not using application builder yet).  At this stage, I would like to run the VI in RT engine via the VI in PC, so that I can just open one VI and run it.

 

Any help pls?

 

Rgds

Chandra

 

 

 

 

 

 

0 Kudos
Message 1 of 3
(2,023 Views)
You can do that using VI server. Search ni.com to know more about VI server.

This can be of help to you.

 

http://zone.ni.com/reference/en-XX/help/371361A-01/lvhowto/vi_server/

 

You can also find examples and help using VI server in LabVIEW Help.

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

Many thanks..  will try it out.

 

Regards

Chandra

 

0 Kudos
Message 3 of 3
(1,997 Views)