Code: Select all
WriteSerialPortData(1,*sbuf,16384)
It is the first time I am trying this with the old computer and I would like to keep an eye on it, and see if it is working correctly, once the bytes are on the old computer, then I don't really have a reliable way to get them off at the minute to check the files, so I would just like to see how far through the 16384 that I currently am on sending in PB, and compare that to where the old computer is at.
Is there any way to see how far in *sbuf that the WriteSerialPortData(1,*sbuf,16384) is at the minute?
I have been using
Code: Select all
For t=0 To Lof(0)-1
WriteSerialPortData(1,*sbuf+t,1)
s$=Str(t+1)+" : "+Str(PeekA(*sbuf+t))
Debug s$
Delay(120)
Next
Any tips?