This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DLP3000: How to contril DLP lightcrafter 3000 via MATLAB

Part Number: DLP3000

Hi,
I have seen the MATLAB codes written by Jan Winter (github.com/.../TI-DLP-LightCrafter) about controlling DLP lightcrafter 3000 which seems is very useful for my purpose. But I have some problems which probably you can give me some hint.
I have run the following code:
 
im1 = zeros( 684, 608, 3 );
im1 (200:480, 200:480, :) = 255;
imwrite( im1, 'im1.bmp' );
imFile1 = fopen( 'im1.bmp' );
% imFile1 = fopen( '132_PAT.bmp' );  %smile
% imFile1 = fopen( 'DMDpattern_superpixelHG11.bmp' );  %HG11
imData1 = fread( imFile1, inf, 'uchar' );
fclose( imFile1 );
%connect to the device
tcpObject = tcpip('192.168.1.100',21845);      %It seems recognizable. I can do ping via cmd and also in lightcrafter GUI the connection TCPIP is the same as here and overall I can see the effect of DMD mirrors by "L.setPattern('0B', tcpObject); % pattern 13" therefore connection should be fine. In addition, GUI works perfect for static and sequences of images
fopen(tcpObject)
tcpObject                   % status shown OPEN
%talk to the device
L=LightCrafter();     % looks loaded
%various implemented commands
% L.setBMPImage( imData1, tcpObject );   % But here MATLAB goes to BUSY status with no end
% L.setStaticColor( 'FF', 'FF', 'FF', tcpObject );
% L.setPattern('0A', tcpObject);  %pattern 10
L.setPattern('0B', tcpObject); % pattern 13
fclose(tcpObject);
Red highlights are my comments and green highlight is my problem
Best wishes,
  • Hi Mahmood,

    Unfortunately this code is not TI code, so we won't be able to assist with debugging. I would recommend reaching out to Jan Winter via private message on this forum and see if they would be able to provide a little help. Others in the community may be able to comment on this thread as well.

    Best,
    Paul