我用DLPC-API-1.10开发了个测试demo,现在想用api修改之前烧图的曝光并用新的曝光重新投图,请问最简单的流程是怎么样的?
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.
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即可,这个最简单方便
理论上可以,需要时间写代码。因此您可以参考开发
我目前是在参考文档和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中配置的要一个字节不能少输入到代码即可。