Show last authors
1 == LEO Irrigation Control Application ==
2
3 {{warning}}
4 April 2016 - In an attempt to make the system more robust the software was significantly redesigned. The controller software is now based on the Simple Text Instruction Processor and no longer accepts injecting events into the queue. All automatic control event scheduling is done via sequential text instruction lists created & modified by the user.
5 {{/warning}}
6
7
8 [[image:LEO-IrrigationControl.png||style="display: block; margin-left: auto; margin-right: auto;" width="50%"]]
9
10 This LabVIEW VI allows the user to open & close the valves for each irrigation circuit, as well as schedule valve events.
11
12
13
14 == Mini LEO Irrigation Control Application ==
15
16
17 == [[ Simple Text Instruction Processor >>LEO.STIP]] ==
18
19 Sample program for valve control
20
21 {{box}}
22 {{code}}
23 # Create alias (this sticks around even after the instruction list ends)
24 ALIAS LEO-E_MULTI1 BOOLEAN ni.var.psp://localhost/E_ValveCtrl/MULTI1
25
26 # Wait until May 1, 2015 at 4:30 AM
27 WAIT-UNTIL 20160501043000
28
29 # Open irrigation circuit LEO-E_Multi1
30 SET LEO-E_Multi1 true
31
32 # Wait 30 minutes
33 WAIT 1800
34
35 # Close irrigation circuit LEO-E_Multi1
36 SET LEO-E_Multi1 false
37 {{/code}}
38 {{/box}}
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 13.10.5 - Documentation