Class AnymaDMX_TrafficController

    • Constructor Summary

      Constructors 
      Constructor Description
      AnymaDMX_TrafficController()
      Create a new AnymaTrafficController instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void connectPort​(AnymaDMX_UsbPortAdapter p)
      Make connection to existing PortController (adapter) object.
      void dispose()
      Clean up threads and local storage.
      void setChannelRangeValues​(int from, int to, byte[] buf)
      set the values for a range of channels
      void setChannelValue​(int channel, byte value)
      set a channel's value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • connectPort

        public void connectPort​(AnymaDMX_UsbPortAdapter p)
        Make connection to existing PortController (adapter) object.
        Parameters:
        p - the AnymaDMX_UsbPortAdapter we're connecting to
      • setChannelValue

        public void setChannelValue​(int channel,
                                    byte value)
        set a channel's value
        Parameters:
        channel - the channel (1 - 512 inclusive)
        value - the value
      • setChannelRangeValues

        public void setChannelRangeValues​(int from,
                                          int to,
                                          byte[] buf)
        set the values for a range of channels
        Parameters:
        from - the beginning index (inclusive)
        to - the ending index (inclusive)
        buf - the data to send note: the from/to indexes are 1-512 (inclusive)
      • dispose

        public void dispose()
        Clean up threads and local storage.