05-30-2007 02:55 PM
05-30-2007 05:50 PM
07-22-2011 03:13 PM
It is not clear to me how your answer applies to my problem. I want to execute a perpetual loop. At the beginning of every cycle through the loop I want to output one analog sample and read the next 200 analog input samples captured AFTER the analog output event. Then after I read these data, I will consume some more time in the loop doing computations,
during which time the ADC buffer is refilling with samples that I can't use.
It seems to me that I want to flush the buffer after the DAC update and wait while the ADC captures the next 200 samples. Can you say precisely how to do this?
Regards,
**bleep**
08-02-2011 11:58 AM
Good morning,
Thanks for the question. From your description of the issue, it sounds like incorporating a producer/consumer structure to your program would help. Here is an example with a small description. Please let us know if you have more questions.
Additionally, I wanted to make sure that you were replying to the correct thread, since the original post was started over 4 years ago by another user. Please let me know if that document helps!
Regards,
Lisa
07-17-2023 02:36 PM - edited 07-17-2023 02:37 PM
@Lisa This link is broken. Do you have an updated link?
07-17-2023 03:21 PM
See Producer/Consumer Architecture in LabVIEW