Results 1 to 2 of 2

Thread: If Sun Season Table

  1. #1
    NSI Member
    Join Date
    Feb 2013
    Location
    Tampa
    Posts
    381

    If Sun Season Table

    I use the seasonal table to run my Hydra's via the If Sun commands. I do a sunrise and a sunset. This I have been using for years. I have an extra Hydra that I have on my refugium.

    Here's what I am trying to accomplish: when the main lights go into start their sunset cycle the refigium lights start sunrise, vise/versa when main lights start sunrise the refugium starts sunset. The "daylight" cycles and sunrise/sunset cycles run opposite of each other.

    I think I am over thinking it. It should be simple in my mind I've play with so many code combinations I cant seem to get it eaxctly right.

    Hydras
    Set OFF
    If Sun 000/-360 Then AI_Sunrise
    If Sun 360/000 Then AI_Sunset
    If Sun 060/-060 Then AI_Midday


    Fuge Hyrda
    Set AI_FugeDay
    If Sun 000/000 Then OFF
    If Sun 060/000 Then AI_Sunrise
    If Sun 000/-060 Then AI_Sunset

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    That looks like it would work.

    You might be an engineer if...You have no life and can prove it mathematically.

Similar Threads

  1. Season Table
    By markstubb in forum A2 Apex/ApexEL and A3 Apex Pro/Apex/Apex Jr
    Replies: 23
    Last Post: 05-28-2020, 21:23
  2. Using the Season Table
    By peterjack in forum Apex Programming for Lighting
    Replies: 1
    Last Post: 07-06-2017, 00:32
  3. Question about the Season Table and if Sun command
    By Mr. Wiggles in forum Apex Programming for Lighting
    Replies: 4
    Last Post: 10-10-2015, 10:06
  4. Help! Season table doesn't seem to be linking with Sun statement
    By marc in forum Apex Programming for Lighting
    Replies: 2
    Last Post: 10-29-2013, 20:24
  5. Question: Season Table to control sun/moon lighting intensity?
    By cloud ix in forum Apex Programming for Lighting
    Replies: 3
    Last Post: 01-15-2013, 17:43

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •