LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WinPcap and LabVIEW

I've just read with much interest of some attempts at interfacing
WinPCap and LabVIEW to create a TCP/IP packet sniffer. I've looked at
WinPCap off and on now for a couple of months and I am wondering if
anyone has anything they are willing to share with me on this subject.
The possibility of hit or miss at putting together a structure that
will perfectly reflect the type defs in the WinPCap source code look
pretty iffy and complicated to me. Any help or advice at all would be
appreciated.

Thanks
James
0 Kudos
Message 1 of 2
(3,102 Views)
Hi James,

No work has been done at NI in regards to creating a TCP/IP packet sniffer program. WinPCap does provide DLLs that you can call though within LabVIEW and that might be the best option for you if you are interested in using this software in LabVIEW. Documentation is available for the WinPcap API. Calling DLLs within LabVIEW is not difficult and there are a couple shipping examples included in LabVIEW Example Finder at Help >> Find Examples >> Communicating with External Applications >> Using External Code >> Integrating DLLs.

You migh
t also be interested in other Discussion Forum posts relating to packet sniffing in LabVIEW:


Hope this helps!

Kileen C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,102 Views)