new getDmx function