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.

DLPC3478: 配置好烧图后,想用api修改其曝光并让新曝光生效流程问题

Part Number: DLPC3478

我用DLPC-API-1.10开发了个测试demo,现在想用api修改之前烧图的曝光并用新的曝光重新投图,请问最简单的流程是怎么样的? 

  • https://www.ti.com/tool/DLPDLC-GUI

    把控制命令转为你的demo命令即可

  • 您好,

          我是用DLPC-API-1.10在win10系统上做的开发,在Internal Patterns模式下烧图投图的。

         我现在把烧好图的设备给客户,客户测试产品认为光机曝光有些暗,想只改投图曝光,当时烧的图客户处是没有的也不方便提供;在这个需求场景下,我想Demo直接从flase通过索引读取之前的烧图配置,改过曝光后重新save bin ,然后load bin 完成改曝光;但 save bin 函数 

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

    里边的s_PatternSets我获取不到,请问我该怎么做,或者这种应用场景下您有什么其他简单的实现方法么?

           非常感谢!

  • 你告诉你的客户使用GUI下载pattern即可,这个最简单方便

  • 如上使用场景描述,所烧图像是不方便提供给客户的,所以是没办法用GUI,现在是想通过API的方式对所写Demo进行优化,请问这方面有办法吗?

  • 您好,请问如果不提供给客户GUI和所烧图像,想用api去改烧到flash的pattern曝光有什么实现方法吗?

  • 理论上可以,需要时间写代码。因此您可以参考开发

    https://www.ti.com/lit/pdf/DLPU095

  • 我目前是在参考文档和API sample写代码的,由于不提供给客户GUI和所烧图像,我的想法是Demo直接从flase通过索引读取之前的烧图配置,改过曝光后重新save bin ,然后load bin 完成改曝光;但 save bin 函数 

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

    我可以通过函数“DLPC34XX_ReadPatternConfiguration”获取到“s_PatternOrderTable”,但是获取不到“s_PatternSets”,请问这个问题该怎么解决?或者有没其他的解决思路?

  • s_PatternSets就是你在GUI中输入的,这个时候你代码中要输入,只是方式不一样。

    DLPC34XX_INT_PAT_PatternOrderTableEntry_s* PatternOrderTable,

    结构定义:

    typedef struct
    {
    uint8_t PatternSetIndex;
    uint8_t NumDisplayPatterns;
    DLPC34XX_INT_PAT_IlluminationSelect_e IlluminationSelect;
    bool InvertPatterns;
    uint32_t IlluminationTimeInMicroseconds;
    uint32_t PreIlluminationDarkTimeInMicroseconds;
    uint32_t PostIlluminationDarkTimeInMicroseconds;
    } DLPC34XX_INT_PAT_PatternOrderTableEntry_s;、

    一共你定义了多少个pattern(GUI)中(包括exposure time, pre Dark time, post dark time 等等,这个时候在代码中输入配置即可。

    在GUI中配置的要一个字节不能少输入到代码即可。