LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDP Read at fast data rate

Hi,

I need to read data at fast data rate. But now i got data missing while data rate is high. If data rate is less it reds correctly . But got missing when increasing the data rate. How to solve my issue?

 

Thanks and Regards 

Parvathi

 

0 Kudos
Message 1 of 3
(588 Views)

Hi Pavarthi,

 


@Parvathiiii wrote:

I need to read data at fast data rate. But now i got data missing while data rate is high. If data rate is less it reds correctly . But got missing when increasing the data rate. How to solve my issue?


  • When handling "fast data rates" then you should NOT update frontpanel elements as fast as possible!
  • When updating frontpanel elements then you should NOT use property nodes as much as possible!
  • When collecting data arrays then you should NOT ABUSE frontpanel elements as data buffers!

 

Use shift registers to hold&collect data.

Update frontpanel more seldomly...

You don't need to convert U8 data to string just to create an I32 value from 4 U8 elements...

Please don't maximize window sizes, that's just annoying...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(580 Views)

 

 

can you try to send and receive your data using multiple udp ports?

I can't anticipate if that is an option for you

 

 

your attached .vi is obviously the receiver.

what is your sender?

 

it is important to know if your sender is another labview program, which can be altered, or a device, which usually can't be altered.

0 Kudos
Message 3 of 3
(540 Views)