WaitFor Procedures (General questions)
Hello,
I am using the WaitFor command as a way to start capturing my data.
The problem I am having is sometimes, the prompt I am waiting for does not show up, and the Waitfor command causes an exception.
The logic I am hoping to do is this:
WaitFor( Prompt ) (Maximum wait 30 seconds)
if WaitFor fails (*Don't kick me off the system!*)
Get the data that is in the receive buffer
... do my logic to see if it still has what I need
Continue sending additional commands to my host system
I am using Winbatch as my programming language, but if you have a VBish example, that would be great!
Thanks for your help!
Barry
Complete thread:
- WaitFor Procedures - bmclellan, 2008-04-29, 15:46
- Re: WaitFor Procedures - wodDamir, 2008-04-29, 16:11
- Re: WaitFor Procedures - bmclellan, 2008-04-29, 16:34
- Re: WaitFor Procedures - woddrazen, 2008-04-29, 16:54
- Re: WaitFor Procedures - bmclellan, 2008-04-29, 17:28
- Re: WaitFor Procedures - woddrazen, 2008-04-29, 17:47
- Re: WaitFor Procedures - bmclellan, 2008-04-29, 20:04
- Re: WaitFor Procedures - woddrazen, 2008-04-29, 21:14
- Re: WaitFor Procedures - bmclellan, 2008-04-29, 21:46
- Re: WaitFor Procedures - woddrazen, 2008-04-29, 23:07
- Re: WaitFor Procedures - bmclellan, 2008-04-30, 20:21
- Re: WaitFor Procedures - wodDamir, 2008-04-30, 20:38
- Re: WaitFor Procedures - bmclellan, 2008-04-30, 20:48
- Re: WaitFor Procedures - bmclellan, 2008-05-01, 16:41
- Re: WaitFor Procedures - woddrazen, 2008-05-01, 20:33
- Re: WaitFor Procedures - bmclellan, 2008-05-02, 03:49
- Re: WaitFor Procedures - woddrazen, 2008-05-01, 20:33
- Re: WaitFor Procedures - bmclellan, 2008-05-01, 16:41
- Re: WaitFor Procedures - bmclellan, 2008-04-30, 20:48
- Re: WaitFor Procedures - wodDamir, 2008-04-30, 20:38
- Re: WaitFor Procedures - bmclellan, 2008-04-30, 20:21
- Re: WaitFor Procedures - woddrazen, 2008-04-29, 23:07
- Re: WaitFor Procedures - bmclellan, 2008-04-29, 21:46
- Re: WaitFor Procedures - woddrazen, 2008-04-29, 21:14
- Re: WaitFor Procedures - bmclellan, 2008-04-29, 20:04
- Re: WaitFor Procedures - woddrazen, 2008-04-29, 17:47
- Re: WaitFor Procedures - bmclellan, 2008-04-29, 17:28
- Re: WaitFor Procedures - woddrazen, 2008-04-29, 16:54
- Re: WaitFor Procedures - bmclellan, 2008-04-29, 16:34
- Re: WaitFor Procedures - wodDamir, 2008-04-29, 16:11