Hi Tomexx:

Are you measuring pulse width (dwell time from your machine)? If yes, then how do you define pulse width on a noisy bouncing pulse?

If you know the rising or falling edge jitter, and if you have an additional output pin, then you can output a one shot (triggered by input "noise") having width wider than bounce width and feed back to the input to "clean" incoming machine pulses.

But then you also say "I have done pulse counting...."
If pulse counting is what you need then I would suggest using the Button cmd. It has built in debouncing and state of pulse (hi or low)

Pulsin is used mainly to measure pulse width.

-warrier