Logic Macros

[SW Summary]
[Cue Lists]
[Cues]
[Submasters]
[Sub Pages]
[Function Buttons]
[Func. Btn. Pages]
[I/O Device Patch]
[Dimmer FX]
[Channel Check]
[Channel Labels]
[Time Events]
[HTML Control]
["What's This"?]
[Patch Import]
[Midi/SMPTE SW]
[Moving Lights]
[Moving Light FX]
[Mark Cues]
[Palettes]
[Chases]
[Programs]
[Linked Cue Lists]
[MP3, MPEG, CD]
[Logic Macros]
[Serial Out]
[Telnet & VB]
[WYSIWYG]
[Tracking Backup]

<< Previous

 

Next >>

For more advanced users Horizon allows you to branch your program depending on conditions Horizon can check for. Familiar routines included in Logic Macros include:

  • if, then, else
  • for i = 1 to n
  • switch (case statements)
  • break

Plus you can “query” Horizon using these commands to determine how an action should proceed.

  • GetFKeys
  • GetSubs
  • GetChan
  • GetDMX
  • GetActiveCue
  • GetText (channel, cue, sub, function button, recent cue)

Horizon will return real-time data to you with System Variables such as:

  • $_CueList
  • $_CueNumber
  • $_FunctionBar
  • $_FKey
  • $_SubPage
  • $_SubNum
  • $_SubOldValue
  • $_SubNewValue
  • $_Time
  • $_TimeString
  • $_DayOfWeek
  • $_Day
  • $_Month
  • $_Year
  • $_DateString
  • $_SMPTETime
  • $_SmpteLastChangeAt