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,