julius228 Posted March 4, 2009 Share Posted March 4, 2009 Dear DF Guru and dear all, It is possible whit DaqFactory transfer a file through the serial port? I would like to use it for transfer a file from remote computer using gsm modem. Link to comment Share on other sites More sharing options...
AzeoTech Posted March 4, 2009 Share Posted March 4, 2009 Sure, but you'd have to script it. You'd use a combination of File. functions and serial functions. Read the file one line at a time using the file. functions and then write() the line to the serial port. You'll have to figure out some sort of protocol, however, to tell the remote site where the beginning and end of the file is, or you can send some command like "I'm sending a file and its xxx bytes long. Here it is:". Perhaps not that verbose, but you get the idea. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.