03-28-2012 08:35 PM
Guys, you need to realize that the 9234 is a DSA device and runs on its own internal clock. Pacing it with a timed loop DOES NOT work with DSA devices. Please take a look at the reference designs I linked to in an earlier post.
03-29-2012 12:10 PM
Hi all,
For getting started with DSA modules, you should check out the shipping examples. They should be ready to go, and have code written for the FPGA to give you a starting place. To find the exaple, open up the example finder by going to help > Find examples from any LabVIEW window. Next, go to Hardware Input and Output > cRIO > Module Specific > 923x Continuous DMA.
Cheers.
Ryan
03-29-2012
12:26 PM
- last edited on
03-28-2025
02:00 PM
by
Content Cleaner
Thanks for the note Ryan,
The Continious DMA example is illustrative in basic principles. The Waveform Reference Library builds on these and adds much more: https://forums.ni.com/t5/Example-Code/Reference-Application-for-NI-CompactRIO-Waveform-Acquisition/t...
It synchronizes the start of acquisition with a time stamp on the RT controller - so you have better t0 accuracy
It increases error handling coverage
It handles varied number of channels on the RT side
It formats the data to a FLOAT on the FPGA side before the DMA buffer - saving 40% of the RT CPU time. It is expensive to cast from fixed point to float.
Just another helper to consider