LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect IP and test device on Ethernet

Hello.

I need to test Ethernet peripheral of a custom board through Labview.

To try  if it's possible, before of develop the test in Labview, with a specific command sent through RS232 port by TeraTerm I started the functioning of Ethernet on the board and through OpenDHCPServer software I can see the IP of the board.

Now, in my Labview project I can use the same command to enable the connection, but how can I test it? First I should get the IP address of the board through Labview and then "ping" it with a command? How can I do it?

Thank you

Regards

0 Kudos
Message 1 of 2
(117 Views)

@V.Life wrote:

First I should get the IP address of the board through Labview


If the IP address doesn't change, I would store it as a configuration parameter. Then you can always adjust it if necessary, but you don't need complex code to determine it.

 


@V.Life wrote:

and then "ping" it with a command? How can I do it?


For a ping command with LabVIEW, see this:

ping.png

 

Edit: Attached ping.vi for LabVIEW2020

0 Kudos
Message 2 of 2
(105 Views)