Re: How to execute commands one by one - WeOnlyDo Discussion board

Re: How to execute commands one by one (General questions)

by wodSupport, Tuesday, July 03, 2007, 17:41 (6152 days ago) @ lax4u

Lax,

ok, assuming \r\n is your LF, wht do you receive in 'Received' line?

I would change ReceiveLine to Receive - perhaps ReceiveLine never returns because there's no full line inside?

Also, change screen = ... to screen = screen + ...., it's better to add to your buffer so if data arrives partially you still receive it. When you see your pattern, empty screen variable.

So, all is there but you're still missing last : ? If you, can you try to send only \n instead of \r\n sequence? Cisco doesn't like \r\n, perhaps this is simple problem.

Kreso


Complete thread: