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.

DLP3010: The demo uses the api to modify the exposure time of the projected image and make the new exposure take effect

Part Number: DLP3010
Other Parts Discussed in Thread: DLPC3478,

hi,

 my demo can control the projection normally. Now I just want to modify the exposure time of the projection and make it take effect. Can I change it with api? What should I do?

Thank you for all your help,

  • Hello User,

    Thanks for your interest in our DLP technology.

    What platform are you developing on? Are you using a DLP3010-LC EVM? Or are you using a custom-designed DLPC3478 board?

    Regards,

    Philippe Dollo

  • Hi,

    I'm sorry, it is so little information early.

    I used DLPC-API-1.10 for the development on windows10 and DLP3010 EVM,My demo can control the display of patterns in internal patten mode normally,Now I just want to modify the exposure time of the pattern set, the others remain unchanged, What should I do on the demo without generateandprogrampatterndata?

    I want to read the corresponding configuration from flash, change the exposure, save pattern to file, and then load pattern from file. can I save pattern to file without the previous pattern sets information?

    Thank you for all your help,

  • Hi,

    the API 'DLPC34XX_INT_PAT_GeneratePatternDataBlock' function calling requires a input param named 'DLPC34XX_INT_PAT_PatternSet_s* PatternSetArray' which I cannot provide. and I just want to change other value such as 'exposure value', keeping PatternSet data of current flash scene unchange. what should I do next?

  • Hello User,

    Have you already successfully configured and executed your pattern streaming setup using the DLP LightCrafter GUI? You may want to start there before attempting to replicate the same using the DLPC API.

    Regards,

    Philippe

  • Hi,

    I used DLPC-API-1.10 to do development on win10 system, projected of patterns in Internal Patterns mode.

    I can run the patterns normally in the DLP LightCrafter GUI. For convenience, I want all operations to be implemented on the Demo, and patterns are not provided to customers.
    I now give the client the run the patterns normally equipment, and the client wants to easily change the exposure on the Demo during the test. Under this demand, I want Demo to read the previous pattern set configuration directly from the flase through the index, save bin after changing the exposure, and then load bin to complete; but the save bin function

    DLPC34XX_INT_PAT_GeneratePatternDataBlock(DMD,
    NUM_PATTERN_SETS,
    s_PatternSets,
    NUM_PATTERN_ORDER_TABLE_ENTRIES,
    s_PatternOrderTable,
    WriteDataToFile,
    EastWestFlip),

    I can get "s_PatternOrderTable "through function "DLPC34XX_ReadPatternConfiguration",but I can't get " s_PatternSets", what should I do, or do you have any other simple ways to implement it in this application scenario?

  • It sounds like you want to be able to update the pattern configuration in flash on your demo hardware. What exactly is the demo unit hardware comprised of?

    Regards,

    Philippe

  • Hi,

    I think you have understood my request,My device information is as follows:

    Regards,

  • Hi there!

    I actually think that I added some sample code to the DLPC API that should be able to be modified to do what you want pretty easily, with a caveat, assuming I'm understanding your request correctly.

    First off, the "exposure time" value is stored in the `DLPC34XX_DUAL_PatternOrderTableEntry_s` object (it's called `IlluminationTime` here).

    In order to modify the running patterns, we can first:

    Read the current Pattern Order Table Entries,

    Modify the entries with the updated illumination time,

    and then write the entries back.

    If you look at the `StepAllPatterns` function in `dlpc347x_dual_samples.c` file, it does almost exactly that, with the exception that it doesn't currently update the illumination time.

    Right now, this function reads all Pattern Order Table Entries and then displays each pattern within them step-by-step (that's what line 637 does; changing the argument to DLPC34XX_DUAL_PC_START should play through the patterns normally). So, you could modify this function to display the patterns after updating the illumination time.

    Now for the caveat: you mentioned that you wanted to save this to a file before re-loading it. I'm not personally familiar with that process, but it should be doable. I can look into this for you if you need that functionality.

    Regards,

    Andrew