Sorry for the inconvenience caused due to delay in the code availability. Please find the below link to download sample code,
The .zip file contains the source code which enables Lightcrafter control through APIs via USB.
DLP LightCrafter Sample Code 1.0.zip : Contains implementation of DM365 command interface definitions. This code initializes the Lightcrafter and allows sending/ receiving of the data packets and command line control.
DLP LightCrafter Sample Linux Application 1.0.zip : A linux application has been created with the above source code. This application demonstrates different display modes, current control of LEDs and creation of solutions.
Further details are provided in the Readme files.
I have problems sending an image from either MATLAB or a compiled Visual Studio project to the LCR.
I can do it from the GUI. However it seems like I cannot connect correctly to the LCR from the provided code examples (DLP LightCrafter Sample Code 1.0).
I can open the object, but no images is projected
I can compile the file, main.c but when I run the demos I get the error: COMMAND PACKET ERROR: DM365 sent back command type as white = [0x02] or read = [0x04] command
It is the same error no matter what demo I run or even turn down the Lightcrafter.
Are there any settings in the provided code examle that I should change before compling (all header files and source files are included in the project except for either LCR_Cmd_Interface.c or main.c depending the one I am trying)? OR do you think some connection settings on my windows PC should be changed (the GUI works)?
I hope you can get me on track.
It looks like the tcp_client.c file in the DLP LightCrafter Sample Code 1.0 is incomplete. All of the functions appear to simply be returning 0 without actually performing any actions which means that nothing is actually being sent or received by the program when it runs. The errors are being thrown since the response is always "0" rather than the properly formatted responses from the LightCrafter.
The code is just a frame work. We intentionally left tcp_client.c; this is a place where you are expected add low level code for TCP communication. For example - You can use Windows Socket APIs.
I don't know why the downloaded file is always incomplete, no matter I use Chrome or Firefox.
Hi Cheung Ka Yan,
You will have to complete the Export Approval form to download the files. Can you explain what you meant by incomplete download?
The download can be started. But it can only download around 400kb data and then the browser shows the download is complete. And the downloaded zip file cannot be open. It said "the compressed folder is invalid or currupted"
I downloaded the zipped file but don't know how to use it. Should it be installed or the files are to be called by the Control Software? I need to stream external video at 60 Hz and displaying in the high rate monochrome mode, i.e. 1440 Hz. Is that code necessary for or the option has already been integrated in the Control Software of Light Crafter?
The sample code is just an example for developing your own control application.
If you just want to configure LightCrafter to display 60Hz 1bit monochrome you should be able to do with LightCrafter GUI.
Select Display Mode to - HDMI Video
On the HDMI Video tab, select video mode setting to as follows,
Bit-Depth = 1, Frame-rate = 60Hz and LED Select anything you are interested Red or Green or Blue.
I have DLP lightcrafter 2.0 and imaging source DFK21BF04 fire ware camera.How to use the above sample code on my setup.and how to send command (as per document) through USB without lightcrafter GUI.
Are you having trouble building and executing the sample code in Linux? Are you asking about interfacing with the IS camera?
How to use the sample code ? Should it be complied and replace the GUI ? I am developing my GUI based on NI Labwindows/CVI, I can send internal pattern ID to DLP LighterCrafter and it gets right. But when I download a BMP picture ,it goes wrong. The color of the projected pic differs from the original.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.