Home | News | Products | Support | Download | Sales | library | Guests | Contact | WebCam | Links
CDS Logo LanBox-Talk mail archive
 

By date: Prev | Next | Index By thread: Prev | Next | Index

Subject[LCtalk] Create a 24h clock control cue
FromFokko van Duin
DateTue, 1 Feb 2005 23:29:03 +0100


After some questions on how to run a show e.g. every day from 19:00 to 23:00, I decide to create a 24 hour/week clock with a control cue. The idea is to have 4 DMX channels which indicates the current day number, hours, minutes, and seconds. The reason to do it in light channels is that you can make a show/cue like:

   show for 0.05s   \\ set your lights off
   go .1 if channel 502 outside 19 - 23

   \\ your cue

   go .1  \\ repeat your show

If you want a more complicated approach you can use examples of starting shows using the analog inputs.

The clock cue uses channels 501-504 as days, hrs, mins, secs. The cue should run in an unused layer, and set itself into the add mode. To set the clock, put the right values into channels 501-504 (in another layer), and at the moment you clear this layer it starts counting with this preset. You can copy/paste the cue below if you want to try it:


// Cuelist 800 (17 steps), modified 01-02-2005 23:16 set layer to add 001: show d02 for 0.05s 002: show d03 for 0.05s 003: show d04 for 0.05s 004: show d05 for 0.05s 005: show d06 for 0.75s show d07 for 0.05s -- go 001 if channel 504 within 0 - 59 show d10 for 0.05s go 002 if channel 503 within 0 - 59 show d12 for 0.05s go 003 if channel 502 within 0 - 23 show d14 for 0.05s go 004 if channel 501 within 0 - 6 show d16 for 0.05s go 005

:d02
   501[128]  502[128]  503[128]  504[128]

:d03
   501[128]  502[128]  503[128]  504[128]

:d04
   501[128]  502[128]  503[128]  504[128]

:d05
   501[128]  502[128]  503[128]  504[128]

:d06
   501[128]  502[128]  503[128]  504[128]

:d07
   501[128]  502[128]  503[128]  504[129]

:d10
   501[128]  502[128]  503[129]  504[000]

:d12
   501[128]  502[129]  503[000]  504[000]

:d14
   501[129]  502[000]  503[000]  504[000]

:d16
   501[000]  502[000]  503[000]  504[000]



This clock example shows the power of LanBox actions; it uses a layer in add mode, let it increment channel 504 every second, and checks whether minutes, hours, day needs to be incremented as well as it clears sec/min at 60, hrs at 24, and days at 6.

If you have questions, let me know,

--
Fokko van Duin,                     Creators of the LanBox-LC
CDS advanced technology bv,         DMX lighting controller.
http://www.cds.nl/                  http://www.lanbox.com/

We are member of MIDI Manufacturers Association, MMA
  • (- current message -), Fokko van Duin

By date: Prev | Next | Index By thread: Prev | Next | Index