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.

Problems starting image projection

Other Parts Discussed in Thread: DLPC200

Hi,

I'm trying to project a single image from the light commander using the provided portability layer API. Currently all my commands are passing STAT_OK (I assume they are all correct) but I cannot get the projector to display my image. All that my projector displays is a blue test pattern. Below is my command log, does anyone notice something that I am missing? Thanks.

InitPortabilityLayer( )

DLP_FlashCompile_SetCompileMode( false )

DLP_RegIO_WriteImageOrderLut( 1, {0}, 1 )

DLP_Source_SetDataSource( SL_SW )

DLP_Img_DownloadBitplanePatternToExtMem( bitPlanePtr, 1024 * 768 / 8, 0 )

DLP_LED_SetLEDEnable( LED_R, 1 )

DLP_LED_SetLEDEnable( LED_G, 1 )

DLP_LED_SetLEDEnable( LED_B, 1 )

DLP_LED_SetLEDEnable( LED_IR, 1 )

DLP_LED_SetLEDintensity( LED_R, 100 )

DLP_LED_SetLEDintensity( LED_G, 100 )

DLP_LED_SetLEDintensity( LED_B, 100 )

DLP_LED_SetLEDintensity( LED_IR, 100 )

DLP_Display_DisplayPatternManualForceFirstPattern( )

DLP_Display_DisplayPatternAutoStepRepeatForMultiplePasses( )

Have fun,

- Nik

  • Hello Nik,

    Welcome to DLP&MEMS forum.

    DLPC200 control happen in two step process.

    1. Configure DLPC200 for a specific exposure, source, frame rate etc... This configuration data is generated offline i.e., using DLP LightCommander GUI control software it is possible to generate this offline data. The output configuration data looks like series of DLPC200 h/w register settings.

    2. Once the step1 is completed, you can play with DLPC200 by calling Real-time control APIs.

    In your API calls you have missed the Step 1 part. So without Step1 completed Step 2 has NO effect at all.

    You can follow the below procedure -

    1. Using GUI control software goto Workflow page. Do the configurations as required. Like Mode, Data Source, Exposure Time, etc...After this hit-play icon below. This will configure and also call the real-time control APIs Step1 & Step2.

    2. After this you can alter the real-time configurable setting again using the APIs call sequence as mentioned by you.

    Feel free to revert back to us incase anything not clear.

    Regards,

    Sanjeev

     

  • Thanks for getting back Sanjeev.

    After following your steps I have been able to control the projector. Now I'm wondering if it is possible for me to set the configuration data (Step 1) without the use of the GUI (Project requirement are for a fully automated solution). I have grabbed the compiled batch file and I am issuing the commands to set the register values with "RunBatchCommand". This seems like it should work, but it is still missing a command that is not in the batch file. If I open the software and just load a project and execute the batch file from within the GUI, I cannot get the projector to turn on and display a test pattern. I am assuming that pressing the play button in the GUI executes a command that is not in the batch file or log. Is there a way to accomplish a fully automated solution (No GUI intervention)? Thanks.

    Have fun,

    -Nik

  • Hi Nik,

    You can do two things -

    1. One-time create a big project with different configurations (solutions) then store them on the board non-volatile memory then use Load Solution option to load different condifurations. This discussed here mechanical_systems/f/387/p/180868/657126.aspx http://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/f/387/t/188164.aspx

    2. When you comiple a solution on the GUI you will see the batch file (.bf) created for each project unders its diretory, you can then parse it using API FlashCompile API and then use the o/p data to load onto the board this is discussed in this link http://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/f/387/p/180868/657126.aspx

    Regards,
    Sanjeev

     

  • Awesome, exactly what I needed. Thanks so much!

    Have fun,

    -Nik