Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: Getting *all* controls of a form Pin
J4amieC28-Nov-12 23:25
J4amieC28-Nov-12 23:25 
AnswerRe: Getting *all* controls of a form Pin
Pete O'Hanlon28-Nov-12 23:27
mvePete O'Hanlon28-Nov-12 23:27 
GeneralRe: Getting *all* controls of a form Pin
J4amieC29-Nov-12 3:22
J4amieC29-Nov-12 3:22 
GeneralRe: Getting *all* controls of a form Pin
Pete O'Hanlon29-Nov-12 3:24
mvePete O'Hanlon29-Nov-12 3:24 
QuestionC# GUI Controlling An External Device Pin
C-P-User-328-Nov-12 15:25
C-P-User-328-Nov-12 15:25 
AnswerRe: C# GUI Controlling An External Device Pin
OriginalGriff28-Nov-12 23:05
mveOriginalGriff28-Nov-12 23:05 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-329-Nov-12 5:33
C-P-User-329-Nov-12 5:33 
GeneralRe: C# GUI Controlling An External Device Pin
OriginalGriff29-Nov-12 5:47
mveOriginalGriff29-Nov-12 5:47 
I hope you have a fast UART! You're going to need at least 164K baud just to transfer the 16Kb packets in one second, let alone process them!
I would not use a fixed packet size - too much overhead. If at all possible, I would want to reduce the amount of data flying around - if you are using a UART you are probably RS232 or RS485, and the reliability drops as a function of both distance and transmission speed. The more data you throw at high speed (for the medium) the more chance of data errors/ retries. (If you are using USB then the TX speed can be pretty huge before it becomes a problem)

I would probably start looking at two threads - one to handle the raw data comms and extract the data blocks, then queue them up for the display thread. That way, the UI can continue in it's own merry way while blocks are stacking up for it.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-329-Nov-12 6:18
C-P-User-329-Nov-12 6:18 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-329-Nov-12 5:57
C-P-User-329-Nov-12 5:57 
GeneralRe: C# GUI Controlling An External Device Pin
OriginalGriff29-Nov-12 6:17
mveOriginalGriff29-Nov-12 6:17 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-329-Nov-12 6:27
C-P-User-329-Nov-12 6:27 
GeneralRe: C# GUI Controlling An External Device Pin
OriginalGriff29-Nov-12 8:09
mveOriginalGriff29-Nov-12 8:09 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-329-Nov-12 9:27
C-P-User-329-Nov-12 9:27 
GeneralRe: C# GUI Controlling An External Device Pin
OriginalGriff29-Nov-12 20:22
mveOriginalGriff29-Nov-12 20:22 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-330-Nov-12 4:38
C-P-User-330-Nov-12 4:38 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-329-Nov-12 6:58
C-P-User-329-Nov-12 6:58 
GeneralRe: C# GUI Controlling An External Device Pin
OriginalGriff29-Nov-12 8:04
mveOriginalGriff29-Nov-12 8:04 
QuestionC++ to C# Translation Pin
GenJerDan28-Nov-12 10:37
GenJerDan28-Nov-12 10:37 
AnswerRe: C++ to C# Translation Pin
Garth J Lancaster28-Nov-12 12:22
professionalGarth J Lancaster28-Nov-12 12:22 
GeneralRe: C++ to C# Translation Pin
GenJerDan28-Nov-12 14:14
GenJerDan28-Nov-12 14:14 
AnswerRe: C++ to C# Translation Pin
Espen Harlinn28-Nov-12 12:39
professionalEspen Harlinn28-Nov-12 12:39 
GeneralRe: C++ to C# Translation Pin
GenJerDan28-Nov-12 14:11
GenJerDan28-Nov-12 14:11 
GeneralRe: C++ to C# Translation Pin
Espen Harlinn28-Nov-12 22:00
professionalEspen Harlinn28-Nov-12 22:00 
AnswerRe: C++ to C# Translation Pin
V.28-Nov-12 21:39
professionalV.28-Nov-12 21:39 

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.