Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

when

Status
Not open for further replies.

julia01945

Programmer
Jan 13, 2004
1
US
Hi,
I wrote an Aspect script and I got a problem with "WHEN" statment. My script does the following:
1 waits for modem connection
2 when the connection is established, reads data from the modem into some allocated memory
3 sends some feedback to the remote modem

in order to process data from the modem I use
set aspect rxdata ON
when $RXCOUNT call FUNCTION1
so it looks like even if there is no data in the modem(comget returns 0 bytes read), FUNCTION1 keeps been called with RXCOUNT that has non 0 value.
It cause many problems in my script. How can I fix it?

Can you help me please.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top