Ping with '-t'

This is a discussion on Ping with '-t' within the labview forums in Programming Languages category; Hi BooJay, ok, therefore donīt set the wait til end to false. Use the default value true. Run it with the "-t" option and send the "ctrl+c" command if you need it. After that the system exec function will quit and you get the result in the standard output. Use a parallel running process to send the "ctrl+c" command.   Mike...

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #11  
Old 07-29-2008, 07:10 AM
MikeS81
Guest
 
Default Re: ??? Re: ??? Re: ?

Hi BooJay,
ok, therefore donīt set the wait til end to false. Use the default value true. Run it with the "-t" option and send the "ctrl+c" command if you need it. After that the system exec function will quit and you get the result in the standard output. Use a parallel running process to send the "ctrl+c" command.
 
Mike
Reply With Quote
  #12  
Old 07-29-2008, 10:33 AM
Wiebe@CARYA
Guest
 
Default Re: Ping with '-t'

Open a pipe...

Check out OGPipe from the openg library. With these VI's you can open an
executable, and read from and write to it interactivelly.

http://forums.ni.com/ni/board/messag...ireLogin=False

Regards,

Wiebe.


Reply With Quote
  #13  
Old 07-29-2008, 12:10 PM
altenbach
Guest
 
Default Re: Ping with '-t'

Of course it is an interesting execise to use system exec for continuous ping, but if you want con continuosly ping a target in LabVIEW, I would recommend one of the following two alternatives instead:

- <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;view=by_date_ascending&am p;message.id=324556#M324556" target="_blank">raw socket ping</a>

- <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;view=by_date_ascending&am p;message.id=324454#M324454" target="_blank">.NET ping</a>

I've been using .NET without any problems... and haven't really played with the raw socket version.
Reply With Quote
  #14  
Old 07-29-2008, 11:40 PM
BooJay
Guest
 
Default ??? Ping with '-t'

hi everyone, thanks for all the help and tips.&nbsp; it is deeply appreciated!&nbsp; THANK YOU!
special thanks to Mike for the tips
and, altenbach , those 2 tips gave me more idea about LabView.&nbsp; Thanks
&nbsp;
&nbsp;
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 08:44 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.