Thank you Henrik. I need to find another way to detect when the circuit is active.