Click here to Skip to main content
16,005,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: thread communications Pin
Mark Salsbery10-Aug-07 10:26
Mark Salsbery10-Aug-07 10:26 
GeneralRe: thread communications Pin
alberthyc10-Aug-07 10:32
alberthyc10-Aug-07 10:32 
GeneralRe: thread communications Pin
Mark Salsbery10-Aug-07 10:42
Mark Salsbery10-Aug-07 10:42 
GeneralRe: thread communications [modified] Pin
alberthyc10-Aug-07 10:55
alberthyc10-Aug-07 10:55 
GeneralRe: thread communications Pin
Mark Salsbery10-Aug-07 11:06
Mark Salsbery10-Aug-07 11:06 
GeneralRe: thread communications Pin
alberthyc10-Aug-07 11:17
alberthyc10-Aug-07 11:17 
GeneralRe: thread communications Pin
Mark Salsbery10-Aug-07 11:55
Mark Salsbery10-Aug-07 11:55 
GeneralRe: thread communications Pin
alberthyc10-Aug-07 16:04
alberthyc10-Aug-07 16:04 
ok, the hardware i'm using is a analog signal generator, and i monitor the signal on the oscilloscope.
the sliders are used to change the signal output.
the hardware come with its own library functions, which is the SpcSetParam().it sets the hardware to run in FIFO mode, a typical mode for continuous data output.
the SpcSetParam get the data from a software buffer, in this case, my data array contain slider positions,pass it to hardware buffer, then the data in hardware buffer is outputed and i can see it on the oscilloscope.
i want to see the output continously, it can't just run it once and gone, that's why i'm looping.

SpcGetParam() does not take long since the hardware processing speed is 100MB/s.
SpcGetParam() just take the data buffer contain the slider position, so the output doesn't reflect on immediate change of sliders, since looping is fast, the effect is almost immediate.

GeneralRe: thread communications Pin
T-Mac-Oz10-Aug-07 16:44
T-Mac-Oz10-Aug-07 16:44 
GeneralRe: thread communications Pin
alberthyc11-Aug-07 8:01
alberthyc11-Aug-07 8:01 
AnswerRe: thread communications Pin
T-Mac-Oz11-Aug-07 19:37
T-Mac-Oz11-Aug-07 19:37 
AnswerRe: thread communications Pin
David Crow10-Aug-07 10:50
David Crow10-Aug-07 10:50 
QuestionDisplaying an Image(JPG,GIF) etc Pin
simon alec smith10-Aug-07 9:30
simon alec smith10-Aug-07 9:30 
AnswerRe: Displaying an Image(JPG,GIF) etc Pin
Mark Salsbery10-Aug-07 9:41
Mark Salsbery10-Aug-07 9:41 
GeneralRe: Displaying an Image(JPG,GIF) etc Pin
simon alec smith10-Aug-07 10:02
simon alec smith10-Aug-07 10:02 
QuestionRe: Displaying an Image(JPG,GIF) etc Pin
Mark Salsbery10-Aug-07 10:18
Mark Salsbery10-Aug-07 10:18 
AnswerRe: Displaying an Image(JPG,GIF) etc Pin
simon alec smith11-Aug-07 2:53
simon alec smith11-Aug-07 2:53 
GeneralRe: Displaying an Image(JPG,GIF) etc Pin
Mark Salsbery11-Aug-07 8:59
Mark Salsbery11-Aug-07 8:59 
AnswerRe: Displaying an Image(JPG,GIF) etc Pin
Hamid_RT10-Aug-07 19:00
Hamid_RT10-Aug-07 19:00 
GeneralRe: Displaying an Image(JPG,GIF) etc Pin
simon alec smith11-Aug-07 3:38
simon alec smith11-Aug-07 3:38 
QuestionHow to print from .bmp file image in memory Pin
bions10-Aug-07 9:03
bions10-Aug-07 9:03 
AnswerRe: How to print from .bmp file image in memory Pin
Mark Salsbery10-Aug-07 9:37
Mark Salsbery10-Aug-07 9:37 
AnswerRe: How to print from .bmp file image in memory Pin
bions13-Aug-07 7:58
bions13-Aug-07 7:58 
GeneralRe: How to print from .bmp file image in memory Pin
Mark Salsbery13-Aug-07 10:02
Mark Salsbery13-Aug-07 10:02 
Questionneed quick help Pin
klutez12310-Aug-07 8:15
klutez12310-Aug-07 8:15 

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.