06-14-2010 05:33 PM
I using the NI 9215 analog module with a FPGA and cRIO. I am transfereing the input data through a DMA FIFO to the RT host code on the RIO. I would like to create a graph with the time vs. voltage. From this graph I would like to calculate the frequency. I have not been able to solve this on my own.
Please let me know if you have any input as to solve this.
Thank you,
Lisa
06-15-2010 03:19 AM
06-15-2010 09:19 AM
06-15-2010 11:21 AM
Hi Lisa,
The 9215 is a fairly standard analog input module so the example Analog Input - cRIO.lvproj might help you. It's located in Hardware Input and Ouput >> CompactRIO >> Basic IO. If it's the plotting of data that's giving you trouble check out the Graphs and Charts folder in the example finder under Fundamentals. The Waveforrm Graph.vi is a good starting point.
Concerning calculations, you'll want to perform those with the data itself, not from the graph. There are analysis VIs that will help you take a spectrum of your data. One that I've used before as a starting point can be found in Analyzing and Processing Signals >> FFT and Frequency Analysis >> Simple Spectrum Analyzer(sim).vi.
I hope this helps you get started!
06-15-2010 06:01 PM
06-15-2010 09:11 PM