LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

network utilization information like what windows task manager does

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!

0 Kudos
Message 1 of 3
(2,968 Views)

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.

 

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(2,944 Views)
Thanks a lot Rolf Kalbermatter! I used the performance counter functions and everything goes well! thanks again!
0 Kudos
Message 3 of 3
(2,811 Views)