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

C#

 
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 
GeneralRe: C# GUI Controlling An External Device Pin
C-P-User-329-Nov-12 6:18
C-P-User-329-Nov-12 6:18 
OriginalGriff wrote:
I hope you have a fast UART! ....at least 164K...
Yes, BlueTooth and USB, 900Kbps, if everybody's telling the truth, and all tests indicate they are.

There are 20 channels of data for me to display, so my scheme and design from square one has been twenty threads for graphs, and one thread for the UART, with a Central Dispatch routine overseeing the operation and coordinating the operation; most probably via semaphores. e.g.,
C#
public static byte ChannelState09; // Channel 9 uses this to communicate with the dispatcher

Then the dispatcher gives channel 9 the command to go and graph, and channel 1 responds by telling the dispatcher that he is busy, then he finishes and so notifies the dispatcher, who will give him his next task when data has arrived.

That's the "eternal loop without an exit" model.

The other model in my head is to just start the individual thread and wait for it to finish. At this moment, I'm not completely certain that one way or the other would work better. If anyone reading has personal experience in this, I welcome the feedback.
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 
AnswerRe: C++ to C# Translation Pin
David Knechtges29-Nov-12 2:55
David Knechtges29-Nov-12 2:55 

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.