Try to control DMX using ENTTEC and USB
2 views (last 30 days)
Show older comments
Hello,
I'm trying to control some LED light sources with MATLAB and through DMX connection. I use a device "ENTTEC" that Converts USB to DMX. I tried to use the package provided here:
There are not enough explanations of how to install the .dll package. I downloaded "FTDxx.dll" library and and installed MinGW add-on as they are required. I still get a long list of errors while using "loadlibrary" command.
[notfound,warnings] = loadlibrary('FTD2XX.dll', 'FTD2XX.h');
Does Matworks provied and solution for controlling through DMX conncection?
I use windows 10 64bit and R2018b.
Thanks,
Farhad
1 Comment
Kritika Vashishtha
on 17 Mar 2020
I am trying to achive the same connection. Did you find solution to this.
Answers (2)
Simon
on 25 Jul 2022
Hi everyone,
i was looking for a USB-DMX-Interface to replace my homebrew Serial to DMX Converter, so i went with the Enttec Open DMX USB Interface.
However, when using it in Matlab i was facing the same issues you are probably struggling with.
The issue is, that the code provided on File Exchange:
was written for Matlab prior to 2014. From 2014b on the 32-bit support for precompiled DLL was discontinued by Mathwork as far as i know.
So, here is what you need to do:
- Download the 64-Bit FTDI DLL from here: https://ftdichip.com/drivers/d2xx-drivers/
- Unpack the DLL, which is now named 'ftd2xx64.dll' to your working directory
- In the test_dmx.m file provided on File Exchange replace all occurences of 'FTD2xx' by 'ftd2xx64'
This did the trick for me and it is working fine. Tested on Windows 10 with Matlab R2022a. Hope this helps.
0 Comments
Bart Krekelberg
on 11 Sep 2023
If someone is running into this same problem, please try code I wrote to talk to the DMX USB Pro widget via the COM Port (underneath, it uses the FTDI drivers, but you won't have to bother with loadlibrary ).
The code is on github and was tested on Matlab R2023a, with an Enttec DMX USB Pro connected (via DMX cable) to a waveform lighting dimmer: klabhub/dmxUsbPro: A Matlab interface for the Enttec DMX512 USB Pro device. (github.com)
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!