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.

DLPC350: Programming custom pattern sequences via python

Part Number: DLPC350

Hello,

We have been trying to control the Lightcrafter 4500 via python. We want to upload a set of 1 bit patterns and then play them for thousands of iterations. From what we have read this may require re-uploading the firmware with the new patterns. Is this the case and if so how would it be done?

We have done through both the user guide and the programmers guide as well as looking into the source code of the GUI. There does not seem to be a command in the guide for uploading patterns in any capacity. 

Thank you for your help,

James

  • Hi James,

    can you please share the firmware and GUI version you are using. 

    How many 1-bit patterns you want to upload ? 

    Thanks,

    Navneet

  • Hi Navneet, 

    Thanks for the reply, we are using the latest GUI on the 4500's store page 'DLP LightCrafter 4500 EVM GUI - Windows (Active) - Version 3.1.0 - 06/14/2017'

    We have not yet altered the firmware using the GUI so it is still in its out of the box state.

    Initially we want to run tests to show we can automatically upload and play a set of patterns, these tests will use 512 patterns. We understand this to be within the capabilities of the Flash memory. (Can you confirm that the memory stores a maximum of 64x 24 Bit RGB images, so 1536 patterns?) The method shown to upload patterns in tutorials uses the GUI to build the firmware with the images included. We would like to know if uploading the images directly is possible? If not, will it be possible to automate the process of this firmware build so that we can upload patterns without the GUI?

    In terms of our pattern sequence for our actual application, it is intended to project a set of basis patterns onto the scene, the number of patterns required for these basis' in practice will be in excess of the maximum capacity of the Flash memory. We are hoping to find a way to use python to control the uploading of the patterns, so in the event we can automate the firmware build we would like to have a cycle of doing this repetitively. Any advice on whether this seems realistic would be appreciated.

    Thanks,

    Stan

  • Hi Stan, 

    Sorry for late reply, kindly find the answers to your questions below:



     Can you confirm that the memory stores a maximum of 64x 24 Bit RGB images, so 1536 patterns?

    A> Yes, this controller has been tested to work with a maximum of 64x24Bit RGB images.

    We would like to know if uploading the images directly is possible? 

    A> The images are only uploaded with the FW. We do not have mechanism to upload images separately. 

     will it be possible to automate the process of this firmware build so that we can upload patterns without the GUI?

    A> It is possible to automate this FW build according to your requirements. You need to look at the provided source code of the GUI and modify it to meet your requirements/ implement similar mechanism in python.

    We are hoping to find a way to use python to control the uploading of the patterns, so in the event we can automate the firmware build we would like to have a cycle of doing this repetitively. Any advice on whether this seems realistic would be appreciated.

    A> It is possible to do this, but kindly keep in mind the time to upload the FW everytime depends on the number of attached images with the FW. You need to confirm this FW upload and then controller reconfiguration time ( like setting up pattern LUTs, setting up proper pattern sequence etc) associated with every FW reupload is compatible with your end application.

    Thanks & Regards,

    Hirak.