Jump to content

Crtomir

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Crtomir

  1. Hello,

     

    I have created code to filter a signal and calculate its peaks. The code is doing perfectly good until..... the signal frequency gets lower (about 10 Hz).

     

    The problem is as shown in Peak detector VI. My code needs to execute under 100 ms. Because Peak detector VI takes to much time at low frequency, my program fails.

    My thinking: Peak detector does a quadratic fit on the points (maybe here hides the time problem ?). I already did FIR filtering, so quadratic fit is not needed?

     

    I have added the code for you all to test and use it if you want (try changing frequency at the top of graph and look at how calculation takes more time).

     

    Please comment on what i created and if there are some FASTER peak calculation alternatives... for us all to use.

     

    PS: you are looking at a test. This is not my program arhitecture (queued state machine)

     

    Thank you

    forum question peak finder.vi

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.