Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I grab data froma streaming output

Status
Not open for further replies.

davydr

Technical User
Apr 5, 2005
1
US
I am trying to grab data after I see a particular string in the output of data. I need to grab the next four characters and place this in a file in a line by itself. Is this possible? If I were to create a capture file the data would be too large and too late.
 
Probably the best way is to use when target or if waitfor to detect that the string has been received, then use the rget command to read the next four characters. Keep in mind this will keep those characters from appearing on the screen.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top