Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to set text of CButton/ radio button Pin
CPallini13-Feb-09 7:26
mveCPallini13-Feb-09 7:26 
AnswerRe: how to set text of CButton/ radio button Pin
Hamid_RT13-Feb-09 20:10
Hamid_RT13-Feb-09 20:10 
QuestionMultiThread and Multi DC Pin
Max++13-Feb-09 3:32
Max++13-Feb-09 3:32 
AnswerRe: MultiThread and Multi DC Pin
Stuart Dootson13-Feb-09 3:53
professionalStuart Dootson13-Feb-09 3:53 
AnswerRe: MultiThread and Multi DC Pin
Rajesh R Subramanian13-Feb-09 5:02
professionalRajesh R Subramanian13-Feb-09 5:02 
AnswerRe: MultiThread and Multi DC Pin
Roger Stoltz13-Feb-09 5:34
Roger Stoltz13-Feb-09 5:34 
GeneralRe: MultiThread and Multi DC Pin
Max++13-Feb-09 6:32
Max++13-Feb-09 6:32 
AnswerRe: MultiThread and Multi DC Pin
Roger Stoltz13-Feb-09 23:43
Roger Stoltz13-Feb-09 23:43 
Max++ wrote:
measure AC voltage
and show the data in real time, look like oscilloscope.


I'm suspicious about this requirement.
If you have an oscilloscope, connect it to an AC signal and let it run freely as in "real-time", all you'll see is a blur. To have it make sense you'd have to use the trigger functionality.
You have to describe what the purpose is, as in "what will the user do with the graphs presented in front of him". My point is that you probably won't need to present every sample to the user as soon as it arrives.
If this is for e.g. signal calibration it would probably do quite well if the graphs were updated twice per second. Perhaps every sample should presented in that case, but you can disregard from the "real-time" problem.


Max++ wrote:
if you have some link, book or example for this concept.


Regarding how to call ::ReadFile() and how get the data, you may find this article[^] to be useful. It's about serial port programming, but the concept of reading is the same.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


GeneralRe: MultiThread and Multi DC Pin
Max++14-Feb-09 2:47
Max++14-Feb-09 2:47 
AnswerRe: MultiThread and Multi DC Pin
Roger Stoltz14-Feb-09 15:15
Roger Stoltz14-Feb-09 15:15 
GeneralRe: MultiThread and Multi DC Pin
Max++14-Feb-09 17:25
Max++14-Feb-09 17:25 
QuestionNetFileEnum and GetLastError 997 Pin
aks.13-Feb-09 3:02
aks.13-Feb-09 3:02 
QuestionRe: NetFileEnum and GetLastError 997 Pin
David Crow13-Feb-09 5:50
David Crow13-Feb-09 5:50 
QuestionNeed help on how to set DDX control for dynamically created slider Pin
John50213-Feb-09 1:21
John50213-Feb-09 1:21 
AnswerRe: Need help on how to set DDX control for dynamically created slider Pin
Code-o-mat13-Feb-09 1:35
Code-o-mat13-Feb-09 1:35 
GeneralRe: Need help on how to set DDX control for dynamically created slider Pin
John50213-Feb-09 2:25
John50213-Feb-09 2:25 
GeneralRe: Need help on how to set DDX control for dynamically created slider Pin
Code-o-mat13-Feb-09 2:29
Code-o-mat13-Feb-09 2:29 
GeneralRe: Need help on how to set DDX control for dynamically created slider Pin
John50214-Feb-09 5:10
John50214-Feb-09 5:10 
GeneralRe: Need help on how to set DDX control for dynamically created slider Pin
Code-o-mat15-Feb-09 1:21
Code-o-mat15-Feb-09 1:21 
QuestionIntercept drop file operations between two explorers Pin
Nuno Esculcas13-Feb-09 1:20
Nuno Esculcas13-Feb-09 1:20 
AnswerRe: Intercept drop file operations between two explorers Pin
Sarath C13-Feb-09 1:38
Sarath C13-Feb-09 1:38 
GeneralRe: Intercept drop file operations between two explorers Pin
Nuno Esculcas13-Feb-09 7:29
Nuno Esculcas13-Feb-09 7:29 
GeneralRe: Intercept drop file operations between two explorers Pin
Sarath C15-Feb-09 17:12
Sarath C15-Feb-09 17:12 
AnswerRe: Intercept drop file operations between two explorers Pin
Code-o-mat13-Feb-09 2:10
Code-o-mat13-Feb-09 2:10 
GeneralRe: Intercept drop file operations between two explorers Pin
Nuno Esculcas13-Feb-09 7:31
Nuno Esculcas13-Feb-09 7:31 

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.