Page 1 of 1
App Developer DSP Level Tick is missing
Posted: Thu Apr 15, 2021 8:01 am
by stefan.erni
Hi Ben
DSP Level Tick is missing?
How to use the DSP Level?
I like to ReadAverage from 200 samples but I miss a Tick.
I tried the sample on the help but the compiler is missing also a tick like me....
regards
Stefan
- Tick_2021-04-15_8-45-54.png (123.46 KiB) Viewed 4098 times
Re: App Developer DSP Level Tick is missing
Posted: Thu Apr 15, 2021 4:33 pm
by BenR
Hi Stefan,
I've redone the wiki example for you now so that it works with the latest component.
I've also added a new property to allow the min / max values to remain rather than decaying over time.
Let me know if you have any problems.
Re: App Developer DSP Level Tick is missing
Posted: Thu Apr 15, 2021 5:17 pm
by stefan.erni
Hi Ben
Perfect! Its working now.
I've also added a new property to allow the min / max values to remain rather than decaying over time.
Very good idea from you!
If you can add another command (ResetPeak, ResetTrough) to set the value back to 0 that would be fantastic. I could then reset the value after ReadPeak or whenever I need it to reset. I hope it works with int and long.
regards
Stefan
Re: App Developer DSP Level Tick is missing
Posted: Thu Apr 15, 2021 7:50 pm
by BenR
Hi Stefan,
That's a good idea. I've added it for you now.
Should work fine with int and long.
Let me know how you get on.
Re: App Developer DSP Level Tick is missing
Posted: Fri Apr 16, 2021 9:19 am
by stefan.erni
Hi Ben
With reset command:
Maybe I did not do the right way.
I put a switch to reset the Peak's but it shows always 0 and 159
With decay on peak:
it's working nice
regards
Stefan
Re: App Developer DSP Level Tick is missing
Posted: Tue Apr 27, 2021 1:02 pm
by stefan.erni
Hi Ben
I tested the Level reset program with the scope.
Every thing look fine but the min Value and max Value is always 0 and 159.
I think there is a problem with the DSP Level component
regards
Stefan
Re: App Developer DSP Level Tick is missing
Posted: Tue Apr 27, 2021 11:16 pm
by BenR
Hi Stefan,
Many thanks for letting me know. I've made some further optimisations and changes to the level component now and hopefully these will work to solve the problems you're having.
Re: App Developer DSP Level Tick is missing
Posted: Wed Apr 28, 2021 10:46 am
by stefan.erni
Hi Ben
Now it's perfect!
Thanks a lot
regards
Stefan