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: Help connecting to DLP3000

Part Number: DLP3000

Hello,

I've used Jan Winter's MATLAB code to connect to the DLP3000. While I can establish a connection to the DLP, I cannot create any changes to the mirror configuration on the device. 

I tried running:

L=LightCrafter()

L.connect()

tcpobject = tcpip('192.168.1.100', 21845)

tcpObject.BytesAvailableFcn = @instrcallback

tcpObject.BytesAvailableFcnCount = 7;

tcpObject.BytesAvailableFcnMode = 'byte';

fopen(tcpObject)

%The next three commands can be used to create display patterns

%L.setBMPImage( imData1, tcpObject )

%L.setStaticColor( 'FF', 'FF', 'FF', tcpObject )

L.setPattern('0A', tcpObject)

The code runs perfectly, but the DLP doesn't respond in any way. I was wondering if this would be an issue with the code, or if there may be a firmware/device issue that I may not have accounted for. Any help would be appreciated.

  • Hi Roshan,

    In the code above have you copied the image data in the imData1 variable?

    Please look into Jan Winter implementation, as below - 

    %create / load simple image
    im1 = zeros( 684, 608, 3 );
    im1 (300:380, 300:380, :) = 255;
    imwrite( im1, 'im1.bmp' );
    imFile1 = fopen( 'im1.bmp' );
    imData1 = fread( imFile1, inf, 'uchar' );
    fclose( imFile1 );
    
    %connect to the device
    tcpObject = tcpip('192.168.1.100',21845)
    fopen(tcpObject)
    
    %talk to the device
    L=LightCrafter()
    
    %various implemented commands
    L.setBMPImage( imData1, tcpObject )
    L.setStaticColor( 'FF', 'FF', 'FF', tcpObject )
    L.setPattern('0A', tcpObject)

    Let us know if it helps.

    Regards,
    Sanjeev

  • Hi Sanjeev,

    Yes I copied that image data as well. Unfortunately I'm still facing the issue of the MATLAB code not changing the orientation of any mirrors on the DLP. Do you have any other suggestions?

  • Hi Roshan,
    Unfortunately we don't on the software. You may want to get in touch with Matlab source code owner. Before showing the bitpmap you may want to make sure other commands work such as changing display mode to Internal Test Pattern.
    Regardsm
    SAnjeev