08-06-2008 06:38 AM
Solved! Go to Solution.
08-06-2008 11:43 AM
08-07-2008 08:23 AM
Hi Hillman,
Thank you for your reply and your code. Sorry I didn't programme the "data selection" part yet, so I cannot show it to you. In your code, you enqueue the data when the switch is on. But since I need to do the DAQ at 100k S/s and I'm afraid the selection in the enqueue part might slow down the acquisition. I prefered to do it in the dequeue loop. I think I didn't describe my question clearly, and the selection is set 'before' we acquire the data. e.g.
I set the manner of selection as 00011111000111, which is transmitted from a digital waveform set by the user. And if the data acquired later is ABCDEFGHIJKLMN, then the data written into the file should be DEFGHLMN. So will it be a better way to extract a subset from the data block right before we write it?
Regard,
Bo
08-07-2008 10:56 AM
08-12-2008 06:41 AM
Hi Hillman,
Thank you for your reply and your code. I'm trying it and I believe this is the right way. Thank you so much.
Best wishes,
Bo
08-12-2008 06:48 AM
Hi.
Thanks for the reply.. its always nice to hear good feedback.
Good luck with it all.
Have a nice day.
Regards