01-18-2008 06:41 AM
01-21-2008 07:02 AM
01-21-2008 07:18 AM
Hi,
what I want to do every 10 ms is a "density profile calculation" which is supposed to be shown as a video signal during the time the data is beeing aquired (10 s). The calculated profile ist not used for control only for presentation. The data logging shall take place after all data is aquired. Are there more questions, I'm not sure if the explanation is sufficient!?
Thanks,
Griza
01-21-2008 07:27 AM
01-21-2008 08:05 AM
01-21-2008 09:37 PM
It doesn't sound like there is any real time critical work being done here. It sounds like you want to acquire the data into a large buffer and pull a duplicate sample every 10 ms (or 5000 samples). I would just read the DAQ buffer 5000 samples at a time and move it to your file transfer buffer. At the same time, take the last point of the 5000 points and put it in your monitoring buffer. Repeat until finished. If it matters, put this part in a high priority loop to make sure it happens on time.
Bruce
01-22-2008 02:12 AM
Hi,
then I'll try this way. Thanks a lot,
Griza