Function seting DMX values on specific channel(s)

Function seting DMX values on specific channel(s)
407 descargas
Actualizado 7 nov 2012

Ver licencia

The function allows to set intensity to 50 on channel 3. See line 85 of testdmx to change channel numbers and intensity.

Note that this function requires the ENTTEC Open DMX USB device (might work with the pro as well?)

http://www.enttec.com/index.php?main_menu=Products&pn=70303&show=description
---------------------------------------------
How to use:

1) First download FTDxx.dll and place it in this folder

http://www.ftdichip.com/Drivers/D2XX.htm

or

http://sourceforge.net/projects/ftd2xx/

2) then start Matlab and type

testdmx

---------------------------------------------
Notes:
- testdmx - test the laser only using DMX code
- FTD2XX.H - this H file has been modified from the original since the original could not be imported under Matlab. Note that I might have made error in converting the types and there are still warnings when importing the DLL.
- D2XX_Programmer's_Guide(FT_000071).pdf - program guide (took me some time to find it so I am including it)

Note: under Windows XP, I was able to make the program work with Matlab 2009a but not 2009b or later. The problem was due to the DLL import. I suspect that the type casting is more strongly enforced in 2009b and later which is why it did not work (I had to change all the data types in the original .H file to make it Matlab compatible).

Tip: while debugging, be sure to close the device before restarting the

program using calllib('FTD2XX', 'FT_Close', handle); Otherwise, you will have to restart Matlab

Copyright A. Delorme - Institute of Noetic Sciences 2012 (arnodelorme at gmail.com)
Distributed using the BSD license

Arnaud Delorme, Aug 21st 2012

Citar como

Arnaud Delorme (2024). Function seting DMX values on specific channel(s) (https://www.mathworks.com/matlabcentral/fileexchange/38946-function-seting-dmx-values-on-specific-channel-s), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Periodic Waveform Generation en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas
dmx

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

test_dmx_released/

Versión Publicado Notas de la versión
1.0.0.0