LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

udp

Solved!
Go to solution

i want to read data packets continously...

0 Kudos
Message 11 of 17
(1,650 Views)

I have multiple IP series in 192.220.1.xx format in the local  network and all are sending in brodcast fashion with same remote port, but i want to read only from 192.220.1.22 in udp, how to read all the packets continously .....??? without missing packets...

0 Kudos
Message 12 of 17
(1,647 Views)
Solution
Accepted by topic author Muniraju

Use. TCP/IP.

 

As you've been told UDP is not going to guarantee you get all packets continuously.

 

Also, did you say earlier you wanted 100 megabit per second?  With other things on the network?  What kind of network do you have, 100 Mbps or 1 Gbps?

 

100 Mbps on a 100 Mbps network is impossible.  On a 1 Gbps network is theoretically possible, but that is still a pretty heavy load for a single communication source.

0 Kudos
Message 13 of 17
(1,628 Views)
Solution
Accepted by topic author Muniraju

So all these other devices are using broadcasts to saturate the network and you are trying to pick out messages from a certain source?

 

Broadcasts require UDP, they cannot go over TCP of course. Do you have control overt the remote systems or is their functionality fixed? What is the actual message rate?

 

Do you have some details?

 

All packets will arrive at your machine, that's the nature of broadcasts. Of course once a UDP transmission arrives, you immediately know the source IP and you can discard it if the source does not match. Are you listeing using "UDP multicast open" or plain "UDP open"?

 

What should happen to the accepted transmissions? Any further processing (stream to disk, parse out a single value, etc.)?

 

Alternatively, you could define firewall rules that only allow certain remote systems.

 

0 Kudos
Message 14 of 17
(1,612 Views)

hii i have 100mbps network, and i am going to receive 156 bytes each time.....presently i  want to receive data using IP address without using Port Id in UDP(if port should be there means i want to receive only data which i entered IP address only)...

0 Kudos
Message 15 of 17
(1,579 Views)

Hiii how to i know source IP once UDp transmission arrives....???????? I am using plain UDP open. The device which is coming from Data is functionally fixed...with network device rate is 100 mbps, im going to receive only 156 bytes.

0 Kudos
Message 16 of 17
(1,574 Views)

Look at the help for the UDP Read function.  It tells you the IP address of the originating device.

0 Kudos
Message 17 of 17
(1,556 Views)