06-08-2022 08:25 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.
06-08-2022 11:23 AM
In 99% of the cases, it is the user's misunderstanding of the hardware or driver leading to unexpected behaviour. To ensure, you're using the drivers correctly, please post the code you used to control the hardware.