LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ethernet ping

is there a way to use Labview to ping another ethernet card in the same
computer without getting short circuited by windows. the ping needs to
go out to a remote device and then back to the second ethernet card.
any suggestions without having to use two separate computers?

thanks in advance

tim hemmis
0 Kudos
Message 1 of 7
(4,291 Views)
What exactly are you trying to do? If you are checking to see if both NICs are working and configured correctly you can use the "ipconfig /all" command line (system exec VI) to get the IP addresses and other connection related info from Windows. Why do you want a ping request to go "through" a remote device? Is the device a router? Are you checking to see if it is routing correctly? If not, then there is likely an easy way to get the answer to your "real" question.

-Jim
0 Kudos
Message 2 of 7
(4,291 Views)
Jim,
we are trying to test some devices that convert the ethernet info into
RF, pick up the RF at another unit that converts it back to ethernet.
if we set up another computer at the other end we can test the units
okay. i was hoping to cut expenses by combining the NIC cards into one
computer and send the ethernet info out to the devices and return the
data to the other NIC card, but Windows short circuits the path within
the computer.

thanks,

Tim

Jim Kring wrote:
>
> What exactly are you trying to do? If you are checking to see if both
> NICs are working and configured correctly you can use the "ipconfig
> /all" command line (system exec VI) to get the IP addresses and other
> connection related info from Windows. Why do you want a ping request
> t
o go "through" a remote device? Is the device a router? Are you
> checking to see if it is routing correctly? If not, then there is
> likely an easy way to get the answer to your "real" question.
>
> -Jim
0 Kudos
Message 5 of 7
(4,291 Views)
What version of Windows are you using?

-Jim
0 Kudos
Message 6 of 7
(4,291 Views)
WinNT ver 4.0

tim

Jim Kring wrote:
>
> What version of Windows are you using?
>
> -Jim
0 Kudos
Message 7 of 7
(4,291 Views)
I don't think this is possible. Mainly because ARP will resolve the
addresses and recognize its two IPs in the same machine. You have to hit
something outside then send it back (ie., router, another computer).

Jim

Timothy Hemmis wrote:

> is there a way to use Labview to ping another ethernet card in the same
> computer without getting short circuited by windows. the ping needs to
> go out to a remote device and then back to the second ethernet card.
> any suggestions without having to use two separate computers?
>
> thanks in advance
>
> tim hemmis
0 Kudos
Message 3 of 7
(4,291 Views)
Try to use e.g. "traceroute" (hopefully "tracert" in Windows)instead of ping. This should work depending on your ethernet device capabilities and protocols used.
Ping is for ECHO requests between TWO ethernet points.
Sergey
0 Kudos
Message 4 of 7
(4,291 Views)