Click here to Skip to main content
15,908,115 members
Home / Discussions / C#
   

C#

 
QuestionSerial Port Data to disk and ftp Pin
Member 1151385419-May-15 3:04
Member 1151385419-May-15 3:04 
AnswerRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 3:18
mveOriginalGriff19-May-15 3:18 
Depends on exactly what you are trying to do: both operations individually are pretty simple! It's when you try to combine them that it gets more complex - and there are thousands of possible things you could be trying to do. Laugh | :laugh:

If you are looking at storing everything you receive to a disk as it comes in, then that;s reasonably trivial: handle the SerialPort.DataReceived[^] event and write it to a permanently open class level stream as byte data. As long as you call Stream.Flush[^] periodically (so that if your app crashes you don't loose the data) you should be fine.

Quite where FTP comes into the task, I'm not sure...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: Serial Port Data to disk and ftp Pin
Member 1151385419-May-15 4:22
Member 1151385419-May-15 4:22 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 4:26
mveOriginalGriff19-May-15 4:26 
GeneralRe: Serial Port Data to disk and ftp Pin
Member 1151385419-May-15 4:37
Member 1151385419-May-15 4:37 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 4:49
mveOriginalGriff19-May-15 4:49 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 5:15
mveOriginalGriff19-May-15 5:15 
GeneralRe: Serial Port Data to disk and ftp Pin
Member 1151385419-May-15 5:40
Member 1151385419-May-15 5:40 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 5:47
mveOriginalGriff19-May-15 5:47 
GeneralRe: Serial Port Data to disk and ftp Pin
Member 1151385419-May-15 6:09
Member 1151385419-May-15 6:09 
GeneralRe: Serial Port Data to disk and ftp Pin
OriginalGriff19-May-15 6:17
mveOriginalGriff19-May-15 6:17 
Questionhow to convert implicitly system.generics.list to system.generics.list? Pin
Engr Nouman19-May-15 2:24
Engr Nouman19-May-15 2:24 
AnswerRe: how to convert implicitly system.generics.list to system.generics.list? Pin
Dave Kreskowiak19-May-15 2:36
mveDave Kreskowiak19-May-15 2:36 
AnswerRe: how to convert implicitly system.generics.list to system.generics.list? Pin
Sascha Lefèvre19-May-15 2:54
professionalSascha Lefèvre19-May-15 2:54 
GeneralRe: how to convert implicitly system.generics.list to system.generics.list? Pin
Engr Nouman19-May-15 3:10
Engr Nouman19-May-15 3:10 
GeneralRe: how to convert implicitly system.generics.list to system.generics.list? Pin
Sascha Lefèvre19-May-15 3:17
professionalSascha Lefèvre19-May-15 3:17 
QuestionHow to find COM port for a specific USB devices connected. Pin
Member 245846718-May-15 23:13
Member 245846718-May-15 23:13 
AnswerRe: How to find COM port for a specific USB devices connected. Pin
Simon_Whale19-May-15 1:33
Simon_Whale19-May-15 1:33 
AnswerRe: How to find COM port for a specific USB devices connected. Pin
Gerry Schmitz19-May-15 17:56
mveGerry Schmitz19-May-15 17:56 
AnswerRe: How to find COM port for a specific USB devices connected. Pin
Member 24584672-Jun-15 20:57
Member 24584672-Jun-15 20:57 
QuestionGrammar in GOLD for generic constructs Pin
Sascha Lefèvre17-May-15 10:08
professionalSascha Lefèvre17-May-15 10:08 
AnswerRe: Grammar in GOLD for generic constructs Pin
Kenneth Haugland18-May-15 23:27
mvaKenneth Haugland18-May-15 23:27 
GeneralRe: Grammar in GOLD for generic constructs Pin
Sascha Lefèvre19-May-15 1:55
professionalSascha Lefèvre19-May-15 1:55 
AnswerRe: Grammar in GOLD for generic constructs Pin
Manfred Rudolf Bihy19-May-15 0:27
professionalManfred Rudolf Bihy19-May-15 0:27 
AnswerRe: Grammar in GOLD for generic constructs Pin
Manfred Rudolf Bihy19-May-15 0:36
professionalManfred Rudolf Bihy19-May-15 0:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.