Problems reading pulse output

The picture of the set-up