Hi,
I'm trying to rget characters from the next line after the "CR" of my transmitted text. The received alarm text is always different so I can't use the waitfor command. My shalarms string is always rgettin "show alarms", the transmitted text. Here's an example of the terminal screen user entered and the part of the script that doesn't rget what I want.
>
>show alarms
PS Fail
proc main
string shalarms
transmit "show alarms^M"
rget shalarms 20
transmit "exit^M"
ddepoke LinkVar "R4C10" shalarms
endproc
I want the "PS Fail" in the string shalarms.
Thanks in advance.
James
I'm trying to rget characters from the next line after the "CR" of my transmitted text. The received alarm text is always different so I can't use the waitfor command. My shalarms string is always rgettin "show alarms", the transmitted text. Here's an example of the terminal screen user entered and the part of the script that doesn't rget what I want.
>
>show alarms
PS Fail
proc main
string shalarms
transmit "show alarms^M"
rget shalarms 20
transmit "exit^M"
ddepoke LinkVar "R4C10" shalarms
endproc
I want the "PS Fail" in the string shalarms.
Thanks in advance.
James