DiyLightAnimation

Fun => The Porch => Topic started by: TexasStingray on August 01, 2011, 07:38:24 pm

Title: Application Development for DMX
Post by: TexasStingray on August 01, 2011, 07:38:24 pm
All,

I am pretty good programmer and want to get started in creating an application that can interface with the DMX Dongle. I know C, Java, VB, and a couple of other languages. I would like to use VB or Java. Can someone point me in the right direction and/or provide a simple example of how someone would get started.

Thanks
Scott
Title: Re: Application Development for DMX
Post by: n1ist on August 01, 2011, 07:56:17 pm
Programming the dongle is based on the Enttec USB Pro API.  Look at their API doc (http://www.enttec.com/docs/dmx_usb_pro_api_spec.pdf) for more info.  I believe the dongle only understands the DMX Send (Label=6) message.

From your code, it's simply opening a COM port, filling a uint8_t array with a header, data, and checksum, and sending it to the COM port whenever you want to change something.
/mike
Title: Re: Application Development for DMX
Post by: PVPlaceLights on August 02, 2011, 12:12:23 pm
Scott,

I can send you the Java code I developed for Olive to send DMX data to the Lynx Dongle/Enttec Pro DMX.  PM me and I will hook you up.

--Matt
Title: Re: Application Development for DMX
Post by: wwwgator on August 07, 2011, 11:39:39 pm
One of the first...and still best design from Doug Fleenor


DMX Coffee maker

http://www.dfd.com/coffee.html
Title: Re: Application Development for DMX
Post by: PVPlaceLights on August 08, 2011, 12:18:31 am
All,

I've put together two Java classes that encode data for the Enttec DMX Pro (Lynx Dongle) and PixelNet (Lynx Dongle) devices. I haven't had time to complete my discussions on using the Java Comm APIs to setup and communicate with serial communication ports. If you need help with Java Comm, let me know and I will add more to the discussion.

You can find the ZIP file with the classes at http://cms.dazlyn.com/?q=node/139 (http://cms.dazlyn.com/?q=node/139)

Thanks,
--Matt