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.

I can't get the Display Pattern 0x04 0x05 command to work

I try to use the command display Pattern (0x04 0x05) to work, and it fails.

 

I'm using the sample code, and added the new command as follows.

I used the code from lcr_cmd.cpp, and added the following for the 0x04 0x05 command.

I have DM365 version 4.0, so the new command should work.

 

// Unsure why this does NOT work.

ErrorCode_t LCR_CMD_DisplayPatternSeq(LCR_PatternCount_t PatternNum) {  

   /* Generate packet */  LCR_CMD_PKT_CommandInit(LCR_CMD_PKT_TYPE_WRITE, 0x0405);

   LCR_CMD_PKT_PutInt((uint32) PatternNum, 2);

   if(LCR_CMD_PKT_SendCommand())

      return FAIL;

 return SUCCESS;

}

 Here is the code used, and evertime, I use the command I get command failed.

  "COMMAND PACKET ERROR: Command Failed!!!"

 

Any ideas why this does not work would be appreciated.

I have the DLP loaded with 3 images, and want to specify the image, before taking the picture.

Paul

  • Hello Paul,

    Welcome to the TI DLP  E2E Community!

    Could you provide me with some more information about your set up so that I could help you troubleshoot your issue:

    • Are you able to send commands to the LightCrafter over USB from the GUI provided in our software Bundle?
    • Are you able to send already existing commands from lcr_cmd.cpp without any issue?

    Meanwhile I am going to try and reproduce this on my end and see if it works.

    Regards

    Manasi