Irrigation Control
Last modified by Michael Sibayan on 2022/05/03 16:48
LEO Irrigation Control Application
This LabVIEW VI allows the user to open & close the valves for each irrigation circuit, as well as schedule valve events.
Mini LEO Irrigation Control Application
Simple Text Instruction Processor
Sample program for valve control
# Create alias (this sticks around even after the instruction list ends)
ALIAS LEO-E_MULTI1 BOOLEAN ni.var.psp://localhost/E_ValveCtrl/MULTI1
# Wait until May 1, 2015 at 4:30 AM
WAIT-UNTIL 20160501043000
# Open irrigation circuit LEO-E_Multi1
SET LEO-E_Multi1 true
# Wait 30 minutes
WAIT 1800
# Close irrigation circuit LEO-E_Multi1
SET LEO-E_Multi1 false
ALIAS LEO-E_MULTI1 BOOLEAN ni.var.psp://localhost/E_ValveCtrl/MULTI1
# Wait until May 1, 2015 at 4:30 AM
WAIT-UNTIL 20160501043000
# Open irrigation circuit LEO-E_Multi1
SET LEO-E_Multi1 true
# Wait 30 minutes
WAIT 1800
# Close irrigation circuit LEO-E_Multi1
SET LEO-E_Multi1 false