LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Ping an IP Address from LabVIEW NXG?

I use the source code from How to Ping an IP Address from LabVIEW?  How do I do this from LabVIEW NXG?

 

I tried the conversion utility from LabVIEW to LabVIEW NXG, and got code with a broken run that has placeholders for all the .NET calls to Windows OS ping.

 

I tried Select Assembly from DotNetInterface.dni, and find that the only choice when searching for ping does not show any entry points (see attached).

 

0 Kudos
Message 1 of 2
(1,215 Views)

The easiest way - in both NXG and Classic - is to use system exec to execute the ping command.  You can capture stdout and parse for info.

 

LabVIEW NXG 5.0 Manual System Exec (G Dataflow)  

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 2
(1,197 Views)