This is a small collection of additional LabVIEW FPGA examples which you may be able to draw upon when beginning your next FPGA project. Be sure to also leverage the RIO Waveform Acquisition Reference Architecture, linked below.
Reference Application for NI CompactRIO Waveform Acquisition
https://forums.ni.com/t5/Example-Code/Reference-Application-for-NI-CompactRIO-Waveform-Acquisition/t...