Function seting DMX values on specific channel(s)

버전 1.0.0.0 (659 KB) 작성자: Arnaud Delorme
Function seting DMX values on specific channel(s)
다운로드 수: 407
업데이트 날짜: 2012/11/7

라이선스 보기

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

인용 양식

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. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Periodic Waveform Generation에 대해 자세히 알아보기
태그 태그 추가
dmx

Community Treasure Hunt

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

Start Hunting!

test_dmx_released/

버전 게시됨 릴리스 정보
1.0.0.0