LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

full programme posted!! unable to read the frequency

my programe reads in off an lvdt transducer through a labjack my programe works up until the LJ stream graph process reads to "scaled data v's seconds" graph.where it graphs a sin wave (amplitude vs time)

for some reason the "freq. amp." analyser won't read the frequency correctly. when i run the programme it outputs a frequency of zero.
note: the amplitude is reading correctly

At the end i am looking to have a point on the x-y graph. it is the the output needed for my project.

note: everything works upuntil the scaled data V'S seconds graph
0 Kudos
Message 1 of 2
(2,552 Views)
The subvi that produces the output for the "Scaled Data vs Seconds" is not available from your upload--it appears to be your problem.

I attached a jpeg of a test I ran on the last part of your vi--it should work successfully. The simulated signal correctly produces a point on the X-Y graph for amplitude and frequency which is what you desire I believe. If you can find the problem in "LJstream graph process.vi" the output part should work correctly.
0 Kudos
Message 2 of 2
(2,552 Views)