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.

LightCrafter LCR_API.h

Other Parts Discussed in Thread: DLPC300

Hello Sanjeev:

I am doing same work with the board LightCrafter EVM. I really have problem that how can i know the functions of those APIs in file LCR_API.h?

I do have the file <LP® LightCrafter™ DM365 Command Interface Guide>, but is it the only file tells about how to make a software program to control the DLP? is there any other files tell some details about how to make a program, which can get a image from a cammera and display it by the DLP?

Please give me some advice to help me to get those information I need!

thanks a lot!

  • Hello Xu,

    I have edited your post and put it in a relevant forum. 

    Can you please let us know if you are using DVSDK to build your own application on DM365? or do you want to control LightCrafter Kit from external PC?

    For the PC side control of the kit, we have put a example sample code i.e., Visual Studio Project you can download it from latest 3.0 package. http://www.ti.com/lcrfw3_win install the package on your PC <install_path>DLPLCRSoftwareBundle-3.0\API-SampleCode-v2.0-Windows contains the project. 

    LCR_API.h -> this is for the embedded application development on the LightCrafter Hardware DM365 processor system only. This header file has no relation with DLP® LightCrafter™ DM365 Command Interface Guide document.  The document talks about communicating the Kit as a 'black box' system via its TCP interface. 

    Regards,

    Sanjeev

     

     

     

  • Hi Sanjeev:

    I appreciate for your reply.

    I am using DVSDK to build my own application on DM365. I want to get images from camera on the board and display it by the DLP. I have already prepared all the hardwares, but I have no idea how can I display the image by the DLP. Could you please give me some help.

    when I download the DM365 kernel in the GUI file("..\Texas Instruments-DLP\DLPLCRSoftwareBundle-3.0\DLP3000-C300REF-DM365-v5.0") to the board, I found that this filesystem contains an application named "cam2disp", it can capture images from the camera and display it by DLP, that what i want! But how can I find the source code? and I even don't have any files to know how to compile code like that to let the DLP display what I get from the camera.

    since I need to process the image from the camera, I cannot use "cam2disp" directly.I need to know how to write code for DM365 on the embeded linux system to let the DLP to display what I get from the camera!

    thank you!

  • Dear Sanjeev,

    We need your kindly reply. Please.

    Regard.


    Ren Shaokang

  • Hello Ren,

    Apologies for delayed response.

    cam2disp is another application similar to cmdh (command handler application).

    Unfortunately in the LCR_API.h the following APIs not usable with DVSDK -

    ErrorCode_t API_GetCamTriggerSetting(API_CamTriggerSetting_t *Setting);
    ErrorCode_t API_SetCamTriggerSetting(API_CamTriggerSetting_t *Setting);

    ErrorCode_t API_CaptureImage(Image_t *Image, API_CaptureMode_t Mode);

    This is so because the code underneath calls Kernel driver functions, we haven't done those changes for DVSDK so we cannot use them.

    Questions - 

    1. Are you able to configure DVSDK and write a code to read the data from the camera port? You don't need anything from LCR_API for this. 

    2. If you are able to complete #1 then may be we can discuss on providing you the access to writing into DLPC300  port via DM365 video buffer.

    Regards,
    Sanjeev

  • Hello Sanjeev:

    Nice to see your response.

    We can do your #1, but can you give us some documents for the APIs? We need your suggestion.

    We had to capture the images, filter them, and write into DLP300 port via DM365.

    Please give us your access and more help.

    Regards.

    Ren Shaokang

  • Hello Ren,

    Sure, let me get back to you about opening the new interface for writing directly into video port.

    Can you please share more details about your product? You can send me the details via private discussion.

    Regards,

    Sanjeev

  • My product is very similar with the LightCraft, a sensor of MT9P031 connects with DM365, and the DM365 connects with a DLP.

    Now, I meet a big problem with MT9P031.

    Do you have something about opening the new interface for writing directly into video port?

    What is your email address?

    Thanks and regards.

    Ren Shaokang

  • Hello Ren,

    We haven't yet started making the changes in the LCR_API.h & .so library. Please understand that the effort has to be prioritized over others based on the business case and opportunity. 

    Let's discuss offline about your product, I will send you a friend's request. 

    Regards,

    Sanjeev

  • Hello Sanjeev,

    I accepted your request. But it works too difficult. What is your email?

    Regards.

    Ren