I have 2 questions about the wiring for the digital output on the USB-2416-4AO.
I have a 5V SSR that needs to actuate a valve (connected to an external 24 VDC power supply) based on a sensor value. As I understand, I need to connect the +5V on the DAQ to the positive input on the SSR and the negative input from the SSR gets connected to the digital input on the DAQ. (Similar thing for the connection to the valve). What I don't understand is, do I also need to connect the +5V with anything else (like the GND on the DAQ, which would mean 2 wires are connected to the same +5V port on the DAQ)?
Secondly, since I am using Python, I also want to know what is the thing that I should be coding for to energize or de-energize the valve. For me its a pressure value, but lets say I want to energize the valve after a time delay of 15 seconds, and then de-energize it when the pressure reaches a value X, what do I code for? An example of a code would be highly appreciated!
Question
metalhouse
Hello!
I have 2 questions about the wiring for the digital output on the USB-2416-4AO.
I have a 5V SSR that needs to actuate a valve (connected to an external 24 VDC power supply) based on a sensor value. As I understand, I need to connect the +5V on the DAQ to the positive input on the SSR and the negative input from the SSR gets connected to the digital input on the DAQ. (Similar thing for the connection to the valve). What I don't understand is, do I also need to connect the +5V with anything else (like the GND on the DAQ, which would mean 2 wires are connected to the same +5V port on the DAQ)?
Secondly, since I am using Python, I also want to know what is the thing that I should be coding for to energize or de-energize the valve. For me its a pressure value, but lets say I want to energize the valve after a time delay of 15 seconds, and then de-energize it when the pressure reaches a value X, what do I code for? An example of a code would be highly appreciated!
Thanks,
T.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now