Hardware Developers Community - NI sbRIO & SOM

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on sync RT DMA data from the beginning

 I am using an sbRIO and am having two issues with my design and need help from experts here:

1) I used a square wave gen in SCTL (10MHz) in FPGA to generate a pulse wave of 200K (with 10% duty cycle) and sent the pulse wave to FPGA DMA FIFO.  At the RT side, when I read the wave out of RT DMA FIFO, the pulse is out of sync from the beginning (the pulse is rolling if it is displayed from waveform view).  Is it possible to sync it from the beginning of the DMA FIFO, just like having a trigger to trigger the raising edge of the pulse?

2) In RT, how to perform an N times running average of waveform in each channel/row of a 2D wave array, such that 2D wave data in -> perform running average of each channel/row) -> 2D multi-channel wave data out?

 

Thanks in advance!

ACIT

 

0 Kudos
Message 1 of 1
(2,493 Views)