09-22-2025 10:00 AM - edited 09-22-2025 10:13 AM
What is the best way to modulate out the 0 points of PWM signal so that the signal looks like a 'neat' rising line that then plateaus rather than modulates between the value given and 0?
09-02-2026 02:59 AM
A script can convert zero-values into NoValues:
call calculate ("Ch(""ResultNV"")=IIf( Ch(""PWM_1"")=0,NoValue,Ch(""PWM_1""))")
The line will then be shown with gaps. You can remove them with "process NoValues" in the Math-module.
Please also have a look into the included example "Find and interpolate invalid values" in DIAdem-Help.