Replacing a membrane switch with a relay for automated testing

By 'motor and battery do you mean you just connected a completely different circuit through the relay to prove it was closing properly?

Yes, that is exactly what I mean. I wanted to verify that the relay circuit itself is functioning properly, which it would appear that it does.

When you say 'skip cycles' do you mean the circuit under test doesn't behave as if the 'membrane switch' had been operated, or do you mean the relay isn't closing? You can test for closure by measuring the voltage difference across the switch.

The relay does close and you can hear the audible click, but sometimes it will not trigger the device like the membrane switch does. It happens randomly. If you run 20 cycles, it may skip on 2 and 18 and the next run of 20 cycles, skip or not actuate on 3 and 10, for example. I will test for voltage difference across the switch as you have mentioned.

I have tried to put additional resistance into the relay circuit, but I will try several other configurations.

I will also check to see if the circuits are actually isolated. they do not share any power or ground, as far as i can tell they are totally seperate, but will test to confirm.

I will follow up with what i find. Thanks!