LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to graph time vs. voltage from the analog input from NI 9215

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

0 Kudos
Message 1 of 6
(3,659 Views)

hi Lhicks,

  Please check the examples...go to example finder and type type your requirement like analog input..

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 6
(3,636 Views)
I have checked all the examples and I am unable to find one for the NI 9215 module.
0 Kudos
Message 3 of 6
(3,628 Views)

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! 

Verne D. // Software R&D // National Instruments
0 Kudos
Message 4 of 6
(3,621 Views)
I am have trouble with graphing the power spectrum, in a way that is useful. i.e. Frequency vs. Amplitude. I have been unsuccessful in finding a VI that can input a type double, continuous input, and calculate the power spectrum and output that to a graph with Freq. and Amp.
0 Kudos
Message 5 of 6
(3,603 Views)
FFT Power Spectrum, Power Spectrum, the Express VI Spectral Measurements.
0 Kudos
Message 6 of 6
(3,590 Views)