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.

DLP4500_Test软件测试问题

Other Parts Discussed in Thread: DLP4500, DLPC350

TI工程师您好,我在官网中下载了TI工程师给出的控制DLP进行投射的软件工程,下载地址如下:

e2echina.ti.com/.../156290 模式序列产生触发信号

我在运行该工程连接DLP4500进行测试时,发现“Project 1 picture”这个功能存在问题:

1. 已经写入一系列图片在其中,若连接投影仪“ConnectUSB”后点击“Project 1 picture”按钮,投射的图片是指定的那一张(如下图中设置投射出第三张);

2. 然后点击“Project Full Fringes”,当投射了一部分图片后再直接点击“Project 1 picture”按钮,发现其投射出来的不是指定的第三张图片了。测试了多次,发现投射出来的这张图片不是固定的,有随机性。

请问:这个情况如何解决?

  • 您好!

    感谢使用TI的DLP产品。

    推荐您使用ti.com上的GUI软件来控制LightCrafter4500 EVM。

    您提到的软件仅供参考使用,可以尝试先stop再投射1个图片

    谢谢

  • 我已经在自己的工程中加入了参考软件的内容,出现的这个问题希望能够解决。程序内容我调试修改过几遍,任然没有测试成功。可以请您讨论一下需要哪一个相关的语句进行修改吗,下面是"Project 1 picture"的实现内容。

    unsigned int patMode;
    int numLutEntries=0;
    unsigned int status;
    unsigned char splashLut[64];
    int numSplashLutEntries = 0;
    unsigned int numPatterns;
    unsigned long int exposure_time;
    
    UpdateData(true);
    int i = 0;
    
    ((CButton*)GetDlgItem(IDC_EDIT1))->SetCheck(true);
    
    DLP_ClearPatLut();
    m_SinglePicture = m_SinglePicture -1;
    numSplashLutEntries = 1;
    //numLutEntries = 31;
    numLutEntries = 1;
    
    if(m_SinglePicture%3 == 0)
    {
    	g_PatLut[0] = 0x67800;
    
    }
    if(m_SinglePicture%3 == 1)
    {
    				
    	g_PatLut[0] = 0x27804;
    
    }
    if(m_SinglePicture%3 == 2)
    {
    			
    	g_PatLut[0] = 0x27808;
    
    }
    
    splashLut[0] = m_SinglePicture/3;
    
    splashLut[1] = 0x1;
    splashLut[2] = 0x2;			
    splashLut[3] = 0x3;			
    splashLut[4] = 0x4;			
    splashLut[5] = 0x5;
    splashLut[6] = 0x6;
    splashLut[7] = 0x7;			
    splashLut[8] = 0x8;			
    splashLut[9] = 0x9;			
    splashLut[10] = 0xA;			
    
    DLP_SetPatternDisplayMode(false);
    
    //numPatterns = 31;
    numPatterns = 1;
    
    DLP_SetPatternConfig(numLutEntries, true , numPatterns, numSplashLutEntries);
    DLP_SetLongAxisImageFlip(false);
    DLP_SetShortAxisImageFlip(true);
    
    exposure_time = 1000000/m_Frequency;
    DLP_SetExposure_FramePeriod(exposure_time, exposure_time);
    
    DLP_SetPatternTriggerMode(1);
    //g_PatLutIndex = 31;
    g_PatLutIndex = 1;
    DLP_SendPatLut();
    
    DLP_SendImageLut(&splashLut[0], numSplashLutEntries);
    		   
    DLP_ValidatePatLutData(&status);
    
    DLP_SetLedEnables(true, false, false, false);
    DLP_SetLEDPWMInvert(false);
    DLP_SetLedCurrents(120, 120, 120);
    //DLP_SetLedEnables(false, false, false, true); //Blue
    //DLP_SetLedEnables(false, false, true, false); // Green
    //DLP_SetLedEnables(false, true, false, false); //RED
    //DLP_SetLedEnables(false, true, true, true); //white
    DLP_SetLedEnables(true, true, true, true); //automatic
    DLP_PatternDisplay(2); //Start pattern display
    Sleep(1000);
    
    while(1)
    {
    	DLP_PatternDisplay(2);
    	if(i++ > 5)
    	break;
    }

  • 您好!

    请问具体是想实现什么样的功能,移植中的碰到的问题是什么?

    Mode1下的触发配置可以参考DLPC350的programmer guide 第四章

    http://www.ti.com/lit/ug/dlpu010g/dlpu010g.pdf

     谢谢