07-29-2018 04:28 AM
hello
I am working on acquiring UDP packet from a sensor, I used packet sniffer example in this link: http://www.ni.com/example/27660/en/
the acquiring process works correctly, now I need to save these packets in .PCAP format, on the other hand if I saved packets in .BIN format (binary file) then what should I do to convert this format into .PCAP
Thanks
07-30-2018 07:31 PM
Hi! This thread may help you. There is a text2pcap.exe that may help you do it.
https://forums.ni.com/t5/LabVIEW/packet-sniffer-example-how-to-save-as-pcap-files/td-p/873926
Please, let me know if it works for you! Have a nice day!
05-22-2024 12:30 AM
Does any one found solution for this topic?
05-22-2024 02:54 AM
@Labview_expert wrote:
Does any one found solution for this topic?
Extend the library to allow opening a capture context to a log file instead of a memory session. The principle is pretty trivial as the pcap API provides various functions to open a capture session and the rest remains the same. Of course this requires some C programming knowledge and you need to modify the lvwpcal.cpp file and recompile it into a shared library (DLL) and interface to the new function.
05-22-2024 02:57 AM
05-22-2024 03:07 AM
@Labview_expert wrote:
ohh! Do you have new library? Is possible to share here?
I'm sorry, the answer is no for both of your questions.