I want to use this concept to control a simple valve that will control a hydraulic cylinder. I also have an optical sensor (with an output of 1-10V) that reads this distance, so, for example, I want to create a boolean value when the cilinder is at the point equals to 350 milemeters that will make it go forward and, when it arrives to 400 milimeters a new boolean pulse is generated and makes the cylinder come backward.
The cylinder will keep going and coming.
I want to do this with a DAQ 6009 and use two digital output to control an electronic board that I created, that will control relays that will control the valve.
When de first digital output is on, the second is off, and vice versa.
Whats the easier way?
For this logic I think it's necessary a control like this, that "memorizes" the boolean "pulse", anyway, if someone teach me something that don't need this "memorizing tool" I will apreciate, but, I'd like also to know how to do this "memory".
This is all.
Sorry for my bad english, and hope someone help me.
Thank you!