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
App Developer DSP Level Tick is missing
-
- Valued Contributor
- Posts: 771
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 173 times
-
- Matrix Staff
- Posts: 1763
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 448 times
- Been thanked: 607 times
Re: App Developer DSP Level Tick is missing
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 771
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 173 times
Re: App Developer DSP Level Tick is missing
Hi Ben
Perfect! Its working now.
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
Perfect! Its working now.
Very good idea from you!I've also added a new property to allow the min / max values to remain rather than decaying over time.
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
-
- Matrix Staff
- Posts: 1763
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 448 times
- Been thanked: 607 times
Re: App Developer DSP Level Tick is missing
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 771
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 173 times
Re: App Developer DSP Level Tick is missing
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
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
-
- Valued Contributor
- Posts: 771
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 173 times
Re: App Developer DSP Level Tick is missing
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
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
- Attachments
-
- Min-Max2021-04-27_13-51-33.png (108.06 KiB) Viewed 4085 times
-
- Matrix Staff
- Posts: 1763
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 448 times
- Been thanked: 607 times
Re: App Developer DSP Level Tick is missing
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 771
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 173 times