I'd like to verify if the following is possible.
Need to fetch data from 12 channels on 5122 at 100MS/s for 0.25ms and do file I/O.
So to do what I want, I looked at some High Speed Digitizer examples, but I don't know
how to control the time of my acquisition which is 0.25ms. It's very short time but it is
to not exceed the PCI BW , which is 133MB/s.
Here's my calculation:
100MS/s * 0.25ms = 25kS/s
5122 is 14bit, so 2byte -> 25kS/s *2byte = 50kB/s * 12 (12 chs) = 600kB/s
I have to do this continuosly and save it to disk at the same time.
In other words, fetch and save, fetch and save, continously.
Can anybody tell me how to do this? Or if someone has example code that could
show me, that would be great.
Thanks in advance