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

C#

 
AnswerRe: Serial Port Won't Send While Receiving Pin
GrooverFromHolland28-Dec-12 7:04
GrooverFromHolland28-Dec-12 7:04 
AnswerRe: Serial Port Won't Send While Receiving Pin
jschell28-Dec-12 9:53
jschell28-Dec-12 9:53 
GeneralRe: Serial Port Won't Send While Receiving Pin
C-P-User-331-Dec-12 10:54
C-P-User-331-Dec-12 10:54 
GeneralRe: Serial Port Won't Send While Receiving Pin
C-P-User-31-Jan-13 13:35
C-P-User-31-Jan-13 13:35 
GeneralRe: Serial Port Won't Send While Receiving Pin
C-P-User-31-Jan-13 13:36
C-P-User-31-Jan-13 13:36 
GeneralRe: Serial Port Won't Send While Receiving Pin
GrooverFromHolland1-Jan-13 23:41
GrooverFromHolland1-Jan-13 23:41 
GeneralRe: Serial Port Won't Send While Receiving Pin
C-P-User-32-Jan-13 4:25
C-P-User-32-Jan-13 4:25 
GeneralRe: Serial Port Won't Send While Receiving Pin
C-P-User-37-Jan-13 9:21
C-P-User-37-Jan-13 9:21 
@GrooverFromHolland
@jschell

Thanks for your input.

Here's what I have learned in the past few days.

My concept of a "thread" is clearly incomplete. This is evidently not time slicing.

My external box was flooding the serial port (on purpose, we wanted to test it to the max).

Turns out that if we continually send data to the serial port, particularly at BlueTooth speeds, the SerialDataReceivedEventHandler (hope I used the right term) apparently is invoked a whole lot more than the other threads.

i.e., there isn't a round robin tossing out invocations of threads. Evidently the hardware ints on the machine are trumping the software dispatch; that is, if I'm grasping the meaning of threads and events properly (which remains a process in mental development at the moment)

So I put in some space and the RX event handler now (apparently, from observations as a user of the code I'm writing) is proiding enough breathing space for the rest of the app to have a chance to act.

Previously, as soon as the data flood started, the entire app froze, like the buttons wouldn't even click.
QuestionQuestion about split Pin
S Douglas27-Dec-12 6:32
professionalS Douglas27-Dec-12 6:32 
AnswerRe: Question about split Pin
PIEBALDconsult27-Dec-12 7:20
mvePIEBALDconsult27-Dec-12 7:20 
GeneralRe: Question about split Pin
S Douglas27-Dec-12 8:04
professionalS Douglas27-Dec-12 8:04 
GeneralRe: Question about split Pin
SledgeHammer0127-Dec-12 10:38
SledgeHammer0127-Dec-12 10:38 
GeneralRe: Question about split Pin
PIEBALDconsult27-Dec-12 11:03
mvePIEBALDconsult27-Dec-12 11:03 
GeneralRe: Question about split Pin
S Douglas27-Dec-12 11:29
professionalS Douglas27-Dec-12 11:29 
GeneralRe: Question about split Pin
SledgeHammer0127-Dec-12 13:34
SledgeHammer0127-Dec-12 13:34 
GeneralRe: Question about split Pin
PIEBALDconsult27-Dec-12 13:59
mvePIEBALDconsult27-Dec-12 13:59 
GeneralRe: Question about split Pin
SledgeHammer0127-Dec-12 14:29
SledgeHammer0127-Dec-12 14:29 
GeneralRe: Question about split Pin
PIEBALDconsult27-Dec-12 15:10
mvePIEBALDconsult27-Dec-12 15:10 
GeneralRe: Question about split Pin
PIEBALDconsult27-Dec-12 16:14
mvePIEBALDconsult27-Dec-12 16:14 
GeneralRe: Question about split Pin
SledgeHammer0127-Dec-12 17:24
SledgeHammer0127-Dec-12 17:24 
GeneralRe: Question about split Pin
April Fans27-Dec-12 14:14
April Fans27-Dec-12 14:14 
QuestionDebugging C# application using WinDbg 6.12.0002.633 Pin
Sharath C V27-Dec-12 0:20
professionalSharath C V27-Dec-12 0:20 
QuestionHOW TO ADD LINK TAG IN CODE OF ASPX.CS PAGE ALONG WITH TAB TEXT TO OPEN LINK. Pin
saurabh pintu goel26-Dec-12 19:51
saurabh pintu goel26-Dec-12 19:51 
AnswerRe: HOW TO ADD LINK TAG IN CODE OF ASPX.CS PAGE ALONG WITH TAB TEXT TO OPEN LINK. Pin
OriginalGriff27-Dec-12 4:12
mveOriginalGriff27-Dec-12 4:12 
Questionhow to add link tag with text in aspx.cs page Pin
saurabh pintu goel26-Dec-12 19:44
saurabh pintu goel26-Dec-12 19:44 

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.