Recently National Instruments developed a reference library for easy waveform acquisition that allows high speed data acquisition with CompactRIO. The document also includes example code and benchmarks:
Code and Documentation: http://www.ni.com/example/31206/en/
Discussion Forum: http://forums.ni.com/ni/board/message?board.id=Components&thread.id=235
The CompactRIO Waveform Reference Library contains host VIs, FPGA templates, and example projects for performing waveform data acquisition on NI RIO hardware. The configuration and acquisition VIs incorporate optimizations and best practices for the RIO platform, and you can easily modify the examples to jump-start your application development.
Christoph Wimmer
1122 E Pike St #1492
USA