Anytime Help Center

Dynamic Device Discovery (DDD)

Rating

​Question:

What is Dynamic Device Discovery (DDD)?

Answer:

Dynamic Device Discovery (DDD) was created to take advantage of Java’s Dynamic Class Loading and the Duet Standard NetLinx API (SNAPI). Java loads each class only as it is needed. Therefore it is feasible to load a Duet device control module on the fly as each new device is discovered. SNAPI provides a fixed interface for communicating with a certain type of device from the NetLinx application program.

Take for example a VCR. The majority of control features are common to all VCRs (play, stop, pause, etc.). SNAPI provides the application developer the ability to write common code that will control any type of VCR having an associated Duet module. The underlying Duet module could be swapped in and out based on the actual physical device with no changes needed to the higher-level application.

While most recently created Duet Modules don’t implement DDD, you may run across it in older code.

For more information on DDD please see the attached AMX Dynamic Device Discovery White Paper.



ddddynamic device discoverydynamic deviceduetprogramming;

Downloads

Product

 

Topic

Programming

Related Articles

Last modified at 2/21/2023 3:49 PM by PRO Knowledge Base
Top