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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need sample for "when $XFERSTATUS" usage

Status
Not open for further replies.

Taxi60

Programmer
Nov 24, 2011
1
CH
I send a file to an ARM-Processor with RAWASCII. I first used "while $XFERSTATUS/yield" but the transfer slows down for this command.
Now I want to use "when $XFERSTATUS" but when I do the following:

when $XFERSTATUS call handlingprocedure

the procedure never is beeing called

Anybody have a sample for the usage?
 
Can you post your current script, or at least handlingprocedure?

One problem I've seen in the past is when statements being constantly run inside a while loop. If that applies to your main script, make sure the when command is not in any loops.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top