02-01-2023 07:48 AM
I'm trying to trigger two separate relays to open and close a valve by sending a long ttl pulse on a button press. I get a constant 5v signal for 5 seconds on channel 0 but for channel 1, I only get a short pulse at the end of the 5 second run.
I have switched the channels and got the same result, with the relay on channel 0 working fine but channel 1 not. I have moved the wiring to different pins for channel 2 and it still didn't work.
I have 9401 with a 9924 screw terminal block on top, plugged into a cDAQ 9178 chasis. I have relay 1 wired to terminals 1 & 14 and relay 2 wired to terminals 3 & 16. They both use identical code with the exception of the channel selected.
02-01-2023 09:50 AM
Sharing the code you used for this experiment will help check if there is any mistake.