DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

PWM Signal

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?

0 Kudos
Message 1 of 2
(1,087 Views)

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.

0 Kudos
Message 2 of 2
(409 Views)