I am currently trying to create a control program using LabVIEW for a single acting pump. The current vi attached generates a 5VDC signal to open and close a relay. I currently have a 12VDC power supply wired to the normally open terminal of the relay. The 12VDC is used to power the pump. I now want to add code that analyzes load cells and uses a user input to determine when to start our current routine. Currently it operates on a push of the relay button. I want it to start when the pressure transducer readout is less than the set value (constant) I determined (this is used to prevent the pump from overloading) AND when the load cell values are less than the user input.
For example:
1) If the user wants a 200lbs load applied with the pump to a specimen, he or she enters 200lbs in the load cell input field.
2) If the current load analyzed by our NI9237 module is less than the user input in step 1 then send a signal to start the 5V routine attached to this post.
3) When the desired input is achieved we want to stop the 5VDC signal attached.
Any help would be appreciated!