Hello max,
Could you post more details about your hardware and software? Anyone who wants to answer will probably need more detail. If you are using LabVIEW, then there is an example included with LabVIEW called Acquire & Graph N Scans. It probably is the example program closest to what you need.
If you want to make another post, please copy all of our discussion and post it in the Measurement Hardware --> Multifunction group or Signal Conditioning group (depending on what hardware you have. You will be much more likely to get responses to this question there. Real-Time refers to true real-time systems that are different from standard operating systems and hardware like the common AMD/Intel + Windows system.
Regards,
John N
Applications Engineer
National
Instruments