LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What is best CVI method to ping n packets to a device and monitor results?

Hi,
 
What is the best method using CVI to ping a specified amount of packets to a device and monitor the response? Can CVI do this or do I need to monitor a terminal program to do it?
 
Thanks
Mike
0 Kudos
Message 1 of 2
(3,432 Views)
Hello Spikeman,

In order to customize the data payload size of the ping command, or to specify the number of packets send to a device, you should use the ICMP functions provided in the Windows SDK.  You will then be able to set up a ping based on the specifications you need.

The following links should be helpful:
MSDN: Implementing Internet Pings Using ICMP.dll
MSDN: How to Ping an IP Address Using ICMP

Hope that helps.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 2
(3,392 Views)