05-24-2016 03:02 AM
Hi all,
i want to use labview to get the network utilization information just like the windows task manager does.
so how can i get the network utilization(like 19.8%), link speed(100M/1G) and state(connected/disconnected) info using labview?
thanks a lot!
05-24-2016 06:42 AM
I'm sure there are some .Net components that allow to do this but I would personally use the Win32 API directly though the GetIfTable() API in IPHLPAPI.DLL, https://msdn.microsoft.com/en-us/library/windows/desktop/aa365943(v=vs.85).aspx.
But that is already quite advanced programming and not very suited if you don't know quite a bit about how to call that function from C and also a bit about C compiler specifics when it generates code to call such functions.
Another option would be to call the Performance Counter API or the WMI API. But both of these are even more involved than the above.
06-23-2016 04:51 AM