DMX/Artnet to pangoscript settings

Discussion in 'PangoScript, Universe and Midi Templates' started by Marnic, Aug 25, 2017.

  1. Marnic

    Marnic Member

    Hello everybody,

    I've a question, is there a pangoscript to get more then one cue on a fader?
    So you get for example:

    DMX value
    0..20 = cue 1
    21..30 = cue 2
    31..40 = cue 3
    41..50 = cue 4
    etc.

    In the "dmx fb3 style mode" is something like that but I want to use the dmx to pangoscript tab instead of the standard fb3 style mode.

    Thanks in advance.

    Marnic
     

    Attached Files:

  2. Marnic

    Marnic Member

    For now I've a solution that works for me.
    Maybe is it interesting for someone.

    I use the following pangoscript:
    Code:
    Startcue 1, extvalue (1,40)
    Value "1" is for the page number
    Value "1'' for the first cue on the page
    Value "40" for the last cue on the page

    So if you want only cue 2 to 10 on page 3 you can use:
    Code:
    Startcue 3, extvalue (2,10)

    Marnic
     
  3. Lasernt

    Lasernt Member

    Hi. sorry.
    --------------

    DefineDmxTrigger 1 // Channel
    InRangeTrigger 0,4,"MyLabelStop" // Min Value, Max Vlaue, Label name
    InRangeTrigger 5,10,"MyLabel1" // Min Value, Max Vlaue, Label name
    InRangeTrigger 10,20,"MyLabel2" // Min Value, Max Vlaue, Label name
    //....
    InRangeTrigger 250,255,"MyLabeln" // Min Value, Max Vlaue, Label name

    Exit //or Restart
    MyLabel1: StartCue 1,1
    Exit //or Restart
    MyLabel2: StartCue 1,2
    Exit //or Restart
    //...
    MyLabeln: StartCue 1,60
    Exit //or Restart

    MyLabelStop: StopAllNow // no arguments
    Exit //or Restart


    ----------

    Sergey
     
  4. ENOT

    ENOT Software Developer Staff Member

    Hi Sergey, Привет,

    Yes, you right, DMX trigger is the best way make it work. It is easier for BEYOND, because of a half of work server by BEYOND, in native code. What might be changed is - using ProTracks. You can try it in demo version. As example ProTrack.CueIndex = 10. ProTrack is nothing else as cue player, it has PageIndex and CueIndex properties, and you can operate with it as with integer variable. Code can be even like this... ProTrack1.CueIndex = MyDmxValue / 4 , or something like that. It is just example of idea.

    One more direction, and I would recommend it as main direction. BEYOND has "DMX Server" mode. Idea is simple - projection zone act as independent Fixture. There are 3 channel mappings. It works insanely fast, no scripting, no settings, just start address in ArtNet, and that is it. You can send me email to report at pangolin dot com and I will send draft of documentation back.

    Всего доброго,
    Алексей
     
  5. Lasernt

    Lasernt Member

    Hi, Alexey.

    CodeName "DMX_Ch-1"
    // Autostart // unrem this line if the script should start automatically
    StopOnBlackout // unrem this line if the script must stop when Blackout pressed

    DefineDmxTrigger 1 // Channel DMX

    ProTrack1.Zones=Zone[1].Name // 1-Zone index
    //
    Start:
    InRangeTrigger 0,9,"Start"
    InRangeTrigger 10,31,"Stop"
    InRangeTrigger 32,63,"Cue1" // Min Value, Max Vlaue, Label name
    InRangeTrigger 64,95,"Cue2" // Min Value, Max Vlaue, Label name
    InRangeTrigger 96,127,"Cue3" // Min Value, Max Vlaue, Label name
    InRangeTrigger 128,159,"Cue4" // Min Value, Max Vlaue, Label name
    InRangeTrigger 160,191,"Cue5" // Min Value, Max Vlaue, Label name
    InRangeTrigger 192,223,"Cue6" // Min Value, Max Vlaue, Label name
    InRangeTrigger 224,255,"Cue7" // Min Value, Max Vlaue, Label name
    goto Start

    Stop:
    StopAllNow // no arguments
    goto Start

    Cue1:
    //ProTrack1.Zones=Zone[1].Name
    ProTrack1.Cueindex=0
    ProTrack1.PageIndex=0
    goto Start

    Cue2:
    //ProTrack1.Zones=Zone[1].Name
    ProTrack1.Cueindex=1
    ProTrack1.PageIndex=0
    goto Start

    Cue3:
    ////ProTrack1.Zones=Zone[1].Name
    ProTrack1.Cueindex=2
    ProTrack1.PageIndex=0
    goto Start

    Cue4:
    //ProTrack1.Zones=Zone[1].Name
    ProTrack1.Cueindex=3
    ProTrack1.PageIndex=0
    goto Start

    Cue5:
    //ProTrack1.Zones=Zone[1].Name
    ProTrack1.Cueindex=4
    ProTrack1.PageIndex=0
    goto Start

    Cue6:
    //ProTrack1.Zones=Zone[1].Name
    ProTrack1.Cueindex=5
    ProTrack1.PageIndex=0

    goto Start

    Cue7:
    //ProTrack1.Zones=Zone[1].Name
    ProTrack1.Cueindex=6
    ProTrack1.PageIndex=0

    goto Start

    ------------
    Sergey.
     
    Last edited: Aug 31, 2017

Share This Page