LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to synchronize RT target with host VI

I am running a code on an RT target that produces approximately 7MB in every 1024ms. If I send this data package through TCP from the RT target to the host computer, how I can be sure that the host VI reads its network variable exactly at that moment when it is sent over?

 At the moment I run the application in two steps, at first I start the host VI and then I start the RT target VI.

 

Is there a more sophisticated method to run the RT application+host VI programmatically? Also, how to synchronize the RT target with the host VI?

 

Thanks,

Krivan

0 Kudos
Message 1 of 4
(2,625 Views)

Can I get some assistance on this topic please.

0 Kudos
Message 2 of 4
(2,592 Views)
0 Kudos
Message 3 of 4
(2,578 Views)

If you can use LV2010 then use Network Streams, otherwise consider making your own tcpip communications vi.  I would package up the data with a SOF,Payload, EOF, CRC and then require the receiver to return a verification message to complete the transfer.

0 Kudos
Message 4 of 4
(2,564 Views)