Home AMX User Forum Duet/Cafe Duet

Duet for Dummies?

Is there a good walk through on creating a (usable) Duet module? I know Java (though no expert, more of a C# guy). I can create modules in NetLinx code (can't get much easier than send_string! Duet, I have the software, get the concepts, but is there any fully working source code one can play with?

Thanks,

Curt
Trikin

Comments

  • TrikinCurtTrikinCurt Posts: 158
    Ok, turns out the (huge) manual got me going enough to write a simple driver. I have two way communications and it works just fine in VA. So, what about listeners? I would like my code to be notified anytime the switcher input is changed. In the Switcher base class we have:
    public final synchronized void processSwitchEvent(SwitcherComponentEvent evt)
    	{
    	    if (isDataInitialized()) 
    	    {
    	        m_sci.processSwitchEvent(evt);
    	    }
    	}
    

    I am a bit confused, it is marked as final, how do I implement this in my own class (public class KdsFlash4 extends Switcher implements IDataListener )

    Curt
    Trikin
Sign In or Register to comment.