LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i equalize to tcp/ip write and read rate?

Solved!
Go to solution

I am using NI CRIO 9073 and labview 8.6. I am sending & receiving  data from realtime to host pc (with swicth).This data communication interval is 8milisec and 10 milisec so how can i equalize my write and read rate for example 8 milisecond. If i can do this, i can not see data loosing for my logging.

 

 

0 Kudos
Message 1 of 6
(3,583 Views)
Solution
Accepted by topic author kacco
Actually my real problem is that real time is working 8 milisecond to 20 milisecond(interval) for sending datas but datalos.vi is reading 9 milisecond and this is working when RT is working at 8 milisec, when my reading rate is less than RT sending rate  i see my system is starting to loss datas
0 Kudos
Message 2 of 6
(3,574 Views)

no solved:)some can help my problem

thank you 

0 Kudos
Message 3 of 6
(3,567 Views)

hi kacco

 

i don't realy understand your question but if you are trying to read tcp port continuously you have to synchronise read and write loops. so you won't miss data. you said your crio sending data at different rates may be you can try to add a register to send your rt send rate to adjust pc log rate.

LabVIEW 2009, Windows 7
0 Kudos
Message 4 of 6
(3,562 Views)

Hi kacco,

   Have your problem really solved?If not you have to use the synchronisation vis which are present like notifiers,semaphores etc.Please let me know how you have solve your problem if it was solved.

 

 

 

Thanks and regards,

srikrishnaNF

 

 

 

 

 

Regards,
Srikrishna


0 Kudos
Message 5 of 6
(3,518 Views)
I solved my problem but i didnt use syc tools.Fisrtly you can use same until wait time for  tcp send loop and receive loop.For example; tcp open must wait 5ms and tcp write or listen must wait 5 ms.as.jpgs
0 Kudos
Message 6 of 6
(3,497 Views)