Click here to Skip to main content
15,900,616 members
Home / Discussions / C#
   

C#

 
GeneralRe: Anybody here handle what happens when you unplug a USB based Serial Port? Pin
Henry Minute25-Mar-09 11:15
Henry Minute25-Mar-09 11:15 
GeneralRe: Anybody here handle what happens when you unplug a USB based Serial Port? Pin
DaveyM6925-Mar-09 11:19
professionalDaveyM6925-Mar-09 11:19 
GeneralRe: Anybody here handle what happens when you unplug a USB based Serial Port? Pin
Luc Pattyn25-Mar-09 13:36
sitebuilderLuc Pattyn25-Mar-09 13:36 
GeneralRe: Anybody here handle what happens when you unplug a USB based Serial Port? Pin
Colin Angus Mackay25-Mar-09 14:48
Colin Angus Mackay25-Mar-09 14:48 
GeneralRe: Anybody here handle what happens when you unplug a USB based Serial Port? Pin
Wes Jones25-Mar-09 15:34
Wes Jones25-Mar-09 15:34 
AnswerRe: Anybody here handle what happens when you unplug a USB based Serial Port? Pin
Henry Minute25-Mar-09 11:41
Henry Minute25-Mar-09 11:41 
GeneralRe: Anybody here handle what happens when you unplug a USB based Serial Port? Pin
DaveyM6925-Mar-09 11:43
professionalDaveyM6925-Mar-09 11:43 
QuestionStreamWriter help... Pin
VoodooInfinity25-Mar-09 10:07
VoodooInfinity25-Mar-09 10:07 
AnswerRe: StreamWriter help... Pin
BOMBONEW25-Mar-09 10:14
BOMBONEW25-Mar-09 10:14 
GeneralRe: StreamWriter help... [modified] Pin
VoodooInfinity25-Mar-09 10:23
VoodooInfinity25-Mar-09 10:23 
AnswerRe: StreamWriter help... Pin
J$25-Mar-09 10:34
J$25-Mar-09 10:34 
AnswerRe: StreamWriter help... Pin
Ian Shlasko25-Mar-09 10:34
Ian Shlasko25-Mar-09 10:34 
QuestionC# and Data Acquisition Application Pin
stancrm25-Mar-09 10:06
stancrm25-Mar-09 10:06 
JokeRe: C# and Data Acquisition Application Pin
Eddy Vluggen25-Mar-09 10:31
professionalEddy Vluggen25-Mar-09 10:31 
AnswerRe: C# and Data Acquisition Application Pin
DaveyM6925-Mar-09 11:26
professionalDaveyM6925-Mar-09 11:26 
GeneralRe: C# and Data Acquisition Application Pin
Eddy Vluggen25-Mar-09 12:07
professionalEddy Vluggen25-Mar-09 12:07 
GeneralRe: C# and Data Acquisition Application Pin
DaveyM6925-Mar-09 12:17
professionalDaveyM6925-Mar-09 12:17 
AnswerRe: C# and Data Acquisition Application Pin
Luc Pattyn25-Mar-09 13:47
sitebuilderLuc Pattyn25-Mar-09 13:47 
Hi,

Windows is not a real-time system, it can't and doesn't guarantee a maximum latency time.
If you need to get something done every 10 msec no matter what, then you need something else.

OTOH if there is sufficient buffering, and all you need is accepting the data, but not immediately act on it, you might well be able to solve it with a Windows app. A simple example is data coming in over a serial line, say 1 character every 10 msec; if your buffer is 10KB it can hold 100 seconds' worth of data, so the app should be capable of processing that under all but the most extreme load conditions.

BTW: if the sample timing is important, you better have an external means as a sample clock; Windows sucks at creating small and precise time intervals.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


QuestionKill a process in RDC session Pin
pranu_1325-Mar-09 9:48
pranu_1325-Mar-09 9:48 
AnswerRe: Kill a process in RDC session Pin
Ian Shlasko25-Mar-09 10:43
Ian Shlasko25-Mar-09 10:43 
GeneralRe: Kill a process in RDC session Pin
pranu_1325-Mar-09 12:21
pranu_1325-Mar-09 12:21 
GeneralRe: Kill a process in RDC session Pin
dano2k325-Mar-09 22:44
dano2k325-Mar-09 22:44 
QuestionAnalyzing the Traffic of network Pin
spiritboy25-Mar-09 9:41
spiritboy25-Mar-09 9:41 
AnswerRe: Analyzing the Traffic of network Pin
harold aptroot25-Mar-09 10:08
harold aptroot25-Mar-09 10:08 
QuestionHow long the database connection stays open Pin
netJP12L25-Mar-09 9:32
netJP12L25-Mar-09 9:32 

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.