Hello ronw61,
You can compare in a loop if the pulse valse is 0 or changed to something and set the Boolean indicator.
Could you also show us the project, that you have created?
Regards)
________
Best way to thank is giving Kudos/Marking as a solution