11-25-2024 02:06 PM
Hi, I need help automatically controlling a solenoid valve. My goal is for the valve to open for 2s every 10s once I hit run without having to toggle the Boolean manually each time.
11-25-2024 03:32 PM
The easiest implementation is using a state machine
11-27-2024 05:49 PM
Thanks for your reply. I found one example on here which I have tried to adapt for my case (attached). Once the code starts, what I intend is for the valve to be closed for 10s and then open for 0.2s in that order without any manual intervention from my end until it is stopped. Can you please check for me if the vi attached will work as I intend to? I am also unsure about the positioning of the DAQmx vis.