07-17-2013 05:07 PM
Is it possible to set a NIC in promiscuous mode and to pull all UDP data?
I have created a VI to listen to data coming across a specific UDP port, this work perfect for one device when I specify the NIC IP address.
My challenge is I have multiple devices with different IP addresses/networks, that I have to switch between. Every time I switch I need to reconfigure my NIC IP address to capture the data. I would like all data to pass through regardless of IP address. Does LabView support this?
Thanks
07-17-2013 05:47 PM
No, LabVIEW does not natively support a way to put a network interface into promiscuous mode and capture all traffic. You'll either need to use a packet sniffer like Wireshark to capture to a file, and then process it later, or use other libraries. A starting point might be http://zone.ni.com/devzone/cda/epd/p/id/2660