LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Real Time Ethernet Sniffer

Solved!
Go to solution

@Aliasor wrote:

Fixed it!!

I installed Wireshark which did not allow the DLL to load. Then I got started looking at the *.CPP file included with lvwpcap.dll. It appeared that all the actual code is referenced externally, thru "extcode.h". Then more digging. Then I came across this:

https://forums.ni.com/t5/LabVIEW/Library-not-loading/td-p/3765945

The current version of Wireshark doesn't install the DLL lvwpcap.dll references. I downloaded and installed the WinPcap library from here:

https://www.winpcap.org/install/default.htm

It's version 4.1.3. OS support only claims Win8, but it installed successfully in Win10, and now my old code is back in biz. This might be trouble going forward however, as V4.1.3 slowly rots.

Maybe I retire by then . . . .


I found a Win10 version here.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 11 of 13
(716 Views)

I just pulled that in, Bill.

Thanks for that! Maybe it delays the inevitable just a bit longer. I will experiment with it and see 😉

This forum is awesome. Thanks to everyone here, and best day from FLA!~

Message 12 of 13
(708 Views)

Wireshark changed the raw network capture driver used from WinPcap to Npcap as development on WinPcap had stopped and the last version of WinPcap had serious stability problems  when running on the Windows 10 network stack. Wireshark still can use WinPcap when present but prefers now NpCap.

Someone seems to have developed WinPcap to run on Windows 10 more reliably http://www.win10pcap.org but I have no idea if they can keep up the support or if this was a one time effort only. Changing the LabVIEW wrapper to use NpCap instead wouldn’t be a huge amount of work either.

Rolf Kalbermatter
My Blog
0 Kudos
Message 13 of 13
(694 Views)