LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending UDP Traffic for Bandwidth testing

Solved!
Go to solution

HI

 

I'm pretty new to Labview and looking forward to learn more. I'm currently doing some Bandwith testing on our network devices. At the moment, I'm using the open source Iperf to send UDP traffic to the device. I wanted to do the same with Labview. All I need is to send a UDP traffic at different bandwidth to the device. I've looked at the example VI Sender  in Labview and I didn't see an option to set the bandwidth rate. Say for exmaple, I would like to send 20 Mbytes/sec to device. Can you please help a newbie?

 

Thank you. 

0 Kudos
Message 1 of 5
(3,711 Views)

the rate is driven by how fast you send the data. If you send 20M/sec then (network setting and congiuration permitting) you are transmitting at 20M/sec.

 

It is that simple*!

 

Ben

 

* Machine configuration, OS load, network traffic, and topology all play a part.

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(3,709 Views)

Thanks Ben.

 

Understand that. Am I right to assume that the Data string in the UDP wirte is one byte per character?  

 

 

0 Kudos
Message 3 of 5
(3,698 Views)
Solution
Accepted by wythat

@wythat wrote:

Thanks Ben.

 

Understand that. Am I right to assume that the Data string in the UDP wirte is one byte per character?  

 

 


 

Yes and keep in mind network specs are in bits per second not bytes.

 

I belive the packet overhead (envelope with source destination protocol and checksums) are all part of the throughput. I usually count the byte as 10 bits for "in the head" estimates.

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 5
(3,694 Views)

How about maximum throughput? Say I would like to test the throughput between two computers over a gigabit link. I will be using the UDP sender to send a large data to the UDP receiver on the other PC. I know the UDP receiver read how much data it received, but how would I determine the throughput speed in bps? 

0 Kudos
Message 5 of 5
(3,635 Views)