Announcement

Collapse
No announcement yet.

Change Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change Script

    I need to add a line that turns all b units off before each sprinkler section goes on to make sure that nothing is running and to reverse some stray signals I am getting. I would like to send an all units off with each off command for any sprinkler head. Can someone show me how and where to add that to this script. Thanks
    Attached Files

    #2
    RDC,
    Couldn't you simply add an all units off to the line:

    hs.NewTimeEvent sp1 &" OFF",ti1, dat, 1, 1, 1, 1, 1, 1, 1, "B1:OFF,B1:OFF", 1, "","system"

    Like:

    hs.NewTimeEvent sp1 &" OFF",ti1, dat, 1, 1, 1, 1, 1, 1, 1, "B1:OFF,B1:ALL UNITS OFF", 1, "","system"
    -Rupp
    sigpic

    Comment


      #3
      Did you mean just the one line or a similar line after every sprinkler section ? Thanks

      Comment


        #4
        I'm not sure it will work buit I would try adding the all units off command to each of the lines:
        hs.NewTimeEvent sp1 &" OFF",ti1, dat, 1, 1, 1, 1, 1, 1, 1, "B1:OFF,B1:ALL UNITS OFF", 1, "","system"
        -Rupp
        sigpic

        Comment


          #5
          That does work. Thank you very much

          Comment

          Working...
          X