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.

Control DLP Light Crafter Evaluation Module API with Matlab

Other Parts Discussed in Thread: DLPC300

Dear,

 I am using the DLP lightcrafter EVM. It works fine using the GUI.

I now want to control it through Matlab instead of the GUI. I have successfully compiled (using Matlab command mex)  LCR_CMD_SetDisplayMode( ( LCR_DisplayMode_t )( 0x00 )), so that I can just change the display mode from Matlab. For this, I needed to read the lcr_cmd.cpp file to see the correct function call, then I looked at the DM365 Comand Line Interface Document to see the value description.

So far so good, however....

For more complicated functions such as LCR_CMD_SetPatternSeqSetting, I would need a full description of the API. I want to know the sequence of functions that are called to achieve it, and the arguments that are passed to them.

 I cannot find a full API description or a more complete developer guide

 

Where can I find it?

 

Thanks a lot for your time, Pepe

  • Hi,

    Are you currently using the DLPC300 programmer's guide? It can be found here: www.ti.com/.../dlpu004 (from the tech doc page: www.ti.com/.../technicaldocuments)

    You can also take a look at some code developed by another forum community member to interface the LightCrafter with MatLab: e2e.ti.com/.../200078. Please note that this SW is not provided or supported by TI.

    Thanks,
    Clinton
  • Hi,

    Thanks for quick reply. I am actually using the DLP LC(TM) DM365 Command Interface Guide (1) TOGETHER with the (downloaded) dmd_interface project in C++ (2). For instance, in (1) section 3.2, I see current display mode and value description, but not the function use. So I then go to (2) and check the function call to realize that LCR_CMD_SetDisplayMode( ( LCR_DisplayMode_t )( 0x00 )) is the way to use it.

    For this simple example all is fine, BUT for more involved actions like projecting a set of recorded patterns, things get very complicated as I don't know the sequences of function calls, or the values they expect etc...

    I will have a look at the Matlab examples you pointed me to, may be things get clearer.

    Thanks for your help, Pepe