I ended up going with knob's option. It seems simple and has worked for me so far. I was also able to use the 'sbsave' command as way to document the communication. Thanks knob!
This has given me several options I did not think of. All seem like they would actually work.
My initial thought was to search for 'Orange' and try to termgets the line, but I couldn't figure out how to retrieve the Row or Line. My list choices could be variable; anywhere from 4 to 20. Also...
I have a remote device that returns the following after I send it the appropriate command:
1.) Apple
2.) Orange
3.) Bananna
4.) Grape
What I would like to find out is what number 'Orange' is on. In this example, it would be line #2, but the remote device could return 'Orange' on any line. Any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.