Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:30 19 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Xmodem Transfers.

Author Message
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1664
Posted: 12:52am 12 Jun 2017
Copy link to clipboard 
Print this post

So far all I've done with 5.4 is sucked a few files off the SD card from the command prompt.

Just wondering how it works in context with other running code.
The manual doesn't mention if it can be used within code or not.


For example;....

[Code]
SETTICK 5000, FiveSecInterupt, 1

Open "Com1:9600,,RecComs,10" as #1

Do

Stuff
..
..
Other Stuff etc
..
IF SendFileFlag=1 Then
XMODEM SEND "DataLog.csv"
End If
..
..
More Stuff

Loop[/code]

So in the above, if we set that flag to trigger the transfer, interacting with a menu via teraterm for example, pause the code while the transfer takes place, or does it happen as a background process?

And if it was a largish file what would happen if either of the interrupts were triggered?

Or have I got it completely wrong & it's a command prompt only transfer.

Thanks

Phil.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024