LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Labview to read Non-protocol ethernet packets

Using Labview to write a test executive for reading and eventually writing packets of data over the ethernet.  The packets are UDP-like, in the essence there is a broadcast IP address and thats about it.  I tried using UDPread.vi to see any traffic over the port, but to no avail.  Perhaps I did not program it right, but looks fairly staright forward for this application.  I later verified that I am getting "other" formatted data broadcasted using Ethereal and saved the packets to file.  So,
 
1) I am seeing "other" formatted broadcast data at the port.
 
2) what tools or VIs do I need to use to see this "other" formatted data.
 
Any help will be appreciated.
 
Andy
0 Kudos
Message 1 of 5
(3,115 Views)
Have you looked at the UDP examples that ship with LabVIEW? They seem to do
exactly what you want to do.

Regards,

Wiebe.


0 Kudos
Message 2 of 5
(3,097 Views)

Wiebe suggestion is good if your target protocol is really UDP.

Without getting into all of the nasty details of OS's and protocol stacks...

If your protocol is actually UDP then you can harness all of the low level support that comes with LV.

If its not, then search this entire site for "Sniffer" where you will eventually find code that will let you implement Ethereal in LV using ".net".

Ben

"Co-author of the first ethernet Sniffer (written in VAX-Macro circa 1988)" Smiley Wink

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 5
(3,088 Views)
Thanks guys,
 
I should have been a little more specific.  I tried the UDP examples and they see no traffic since it is not UDP formatted packets.  The sender is a UUT that has a user specified packet that was claimed to be "UDP", however using the Ethereal Protocol Anyalyzer and confirmed by asking the designer, it was not.  I just downloaded the "sniffer" and just by reading the description, it looks like the ticket.  Again thanks guys, and I will let you know how I make out.
 
Andy
0 Kudos
Message 4 of 5
(3,079 Views)
" ...and I will let you know how I make out."
 
Yes please do Andy!
 
I can't get into the mud on every project I have ever worked on but I do love to hear about others adventures!
 
Thank you,
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 5
(3,075 Views)