Some commands aren't working

Discussion in 'PangoScript, Universe and Midi Templates' started by Helyx, Feb 21, 2014.

  1. Helyx

    Helyx Active Member

    Hallo Everyone,

    i want to read out the Value of a DMX Channel (or a normal channel) and assign it to an parameter. Lets say to MASTER.BPM

    In the help file are some examples, but they dont seem to work.
    What are to correct commands to read out the value of a DMX Channel / Channel.
    Dmx(2) or DmxIn(2) dont work.
    I'm using Beyond 603

    Greetings
     

    Attached Files:

    Last edited: Feb 21, 2014
  2. ENOT

    ENOT Software Developer Staff Member

    I recommend to try this code:

    WaitForDmx 10
    Master.BPM=100+dmx(10)/10
    restart


    10 is number of DMX channel, 1..2048.
    dmx(10) read the value of 10th channel.

    Best Regards,

    Alexey.
     
  3. Helyx

    Helyx Active Member

    The problem is that dmx(10) gives me an error. See screenshot in my first post.


    Greetings
     
  4. ENOT

    ENOT Software Developer Staff Member

    In your screenshot the tab with error messages is not visible. Please let me know error message. Also, please esnure that DMX IN enabled.

    Best Regards,

    Alexey.
     
  5. Helyx

    Helyx Active Member

    Ut says "Invalid integer"
     

    Attached Files:

    • f2.jpg
      f2.jpg
      File size:
      70.3 KB
      Views:
      9
  6. Bob@Pangolin

    [email protected] Staff Member

    displaypopup "DMX(10)"
     
  7. Helyx

    Helyx Active Member

    That writes the string "DMX(10)" in a popup window. I want the value of the 10th dmx channel.
     

Share This Page