From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDP basic question

Hi, everyone

There're some questions when I tried to use the example VI from Labview  original provided.

1.In single-cast case (like  Simple UDP example), why I can't get the packet by Wireshark?

   and at UDP multicast example it goes work, what's the reason ?

image.png

 

 2. At the block function guide has showed the UDP read function maximum size is 548 bytes, on my own test as the pic as former which length is 4592, when I set the UDP read maximum size as 65507 it has no compile error and seems like my transmission word length is correct. So can it  looks like as an unstable method ? Or any other suggestion for receive high data rate (nearly 5M bytes/sec) to solve this question.

 

3. Similar as Q2  UDP write function restriction is 8192 bytes,  some solution to enhance transmission data rate?

 

Thanks for all

 

0 Kudos
Message 1 of 3
(2,356 Views)

Hi Max,

 

on question 2 you should read this

Best regards,
GerdW


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

Thanks, guys its looks like is the original frame architecture restrict it
for Q1 more specific why UDP open function has no destination address like it exist at UDP Multicast open function named multicast addr? Though at UDP write function has to assign the receive IP and port, but I have no idea why it doesn't present in Wireshark.

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