Click here to Skip to main content
15,919,774 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionImage rotation using RotateTransform()???? Pin
TooShy2Talk12-Mar-08 17:34
TooShy2Talk12-Mar-08 17:34 
AnswerRe: Image rotation using RotateTransform()???? Pin
Mark Salsbery12-Mar-08 18:26
Mark Salsbery12-Mar-08 18:26 
GeneralRe: Image rotation using RotateTransform()???? Pin
TooShy2Talk12-Mar-08 19:08
TooShy2Talk12-Mar-08 19:08 
QuestionRe: Image rotation using RotateTransform()???? Pin
TooShy2Talk12-Mar-08 19:53
TooShy2Talk12-Mar-08 19:53 
AnswerRe: Image rotation using RotateTransform()???? Pin
Rajkumar R12-Mar-08 21:05
Rajkumar R12-Mar-08 21:05 
GeneralRe: Image rotation using RotateTransform()???? Pin
TooShy2Talk12-Mar-08 22:26
TooShy2Talk12-Mar-08 22:26 
GeneralRe: Image rotation using RotateTransform()???? Pin
Mark Salsbery13-Mar-08 6:34
Mark Salsbery13-Mar-08 6:34 
QuestionThread Response Time Pin
jonsey2984712-Mar-08 17:15
jonsey2984712-Mar-08 17:15 
I am writing an application to communicate with a controller, the data packet size is 7 bytes maximum 14 bytes both ways. I am trying to calculate my worst case frequency and I am using the following approximation, I seem to reall that baud rate is the approximate bit rate.

Max Controller Baud Rate = 500K
Max packet size = 56 bits.

500000/96 = 5.2 KHz

So based on this, and discounting controller and protocol converter latencies, I need to read the serial port every 2 microseconds.

Am I dreaming, or can a small thread handle it? How can I determine what size buffer I need to avoid overflow or loss of data?

Thanks once again for your replies.
GeneralRe: Thread Response Time Pin
krmed13-Mar-08 1:59
krmed13-Mar-08 1:59 
GeneralRe: Thread Response Time Pin
jonsey2984713-Mar-08 12:20
jonsey2984713-Mar-08 12:20 
QuestionRe: Thread Response Time Pin
David Crow13-Mar-08 2:24
David Crow13-Mar-08 2:24 
GeneralRe: Thread Response Time Pin
jonsey2984713-Mar-08 12:30
jonsey2984713-Mar-08 12:30 
QuestionRe: Thread Response Time Pin
David Crow14-Mar-08 2:39
David Crow14-Mar-08 2:39 
AnswerRe: Thread Response Time Pin
jonsey2984718-Mar-08 4:30
jonsey2984718-Mar-08 4:30 
Generalopaque pointer Pin
George_George12-Mar-08 16:36
George_George12-Mar-08 16:36 
GeneralRe: opaque pointer Pin
Maxwell Chen12-Mar-08 18:30
Maxwell Chen12-Mar-08 18:30 
GeneralRe: opaque pointer Pin
George_George12-Mar-08 18:35
George_George12-Mar-08 18:35 
GeneralRe: opaque pointer Pin
Maxwell Chen12-Mar-08 18:42
Maxwell Chen12-Mar-08 18:42 
GeneralRe: opaque pointer Pin
George_George12-Mar-08 18:49
George_George12-Mar-08 18:49 
GeneralRe: opaque pointer Pin
Maxwell Chen12-Mar-08 18:54
Maxwell Chen12-Mar-08 18:54 
GeneralRe: opaque pointer Pin
George_George12-Mar-08 18:56
George_George12-Mar-08 18:56 
GeneralRe: opaque pointer Pin
Eytukan13-Mar-08 7:03
Eytukan13-Mar-08 7:03 
AnswerRe: opaque pointer Pin
Maxwell Chen13-Mar-08 9:24
Maxwell Chen13-Mar-08 9:24 
GeneralRe: opaque pointer Pin
George_George13-Mar-08 15:14
George_George13-Mar-08 15:14 
GeneralRe: opaque pointer Pin
Eytukan13-Mar-08 16:06
Eytukan13-Mar-08 16:06 

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.