circuitman
Technical User
Dear Experts,
I need help about the usage of waitfor.
I have some datas where coming from a processor. I see some words in screen.Like that;
dfdf
dfdfdf 111
dfdf
dfdf
dfdf _RAM:en
ddf
www
What I want to do is using waitfor"_RAM:" commmand, run some commands in the script file below,
Script Code:
proc main
integer da = 1
waitfor "_RAM"
/Commands I want to run after waitfor catches _RAM: word from screen/
transmit (" new tag 1708h^M")
pause (da)
transmit ("filter 170eh^M")
pause (da)
transmit ("filter 74 tag 188dh^M")
pause (da)
Is that works???
Thank you,
Eray
Support Engineer
I need help about the usage of waitfor.
I have some datas where coming from a processor. I see some words in screen.Like that;
dfdf
dfdfdf 111
dfdf
dfdf
dfdf _RAM:en
ddf
www
What I want to do is using waitfor"_RAM:" commmand, run some commands in the script file below,
Script Code:
proc main
integer da = 1
waitfor "_RAM"
/Commands I want to run after waitfor catches _RAM: word from screen/
transmit (" new tag 1708h^M")
pause (da)
transmit ("filter 170eh^M")
pause (da)
transmit ("filter 74 tag 188dh^M")
pause (da)
Is that works???
Thank you,
Eray
Support Engineer