Part Number: DLPLCR6500EVM
Hi,
I am using open-sourced Matlab code to upload and display custom images on Pattern on the Fly Mode. The code is from https://github.com/deichrenner/DMDConnect
All the functions run perfectly. I was able to upload and display one image without problem. However as i tried to upload multiple images, according to Pattern-On-The-Fly Example (Page 64, 5.3 of DLPC900 Programmer's Guide) , only the first image with pattern index 0 is displayed normally. The follow up images are either blank, or exactly the same as image 0, or distorted. The exposure time, the dark time and the total number of patterns are corrected.
One explanation I can thought of is potential error in function 2.4.4.4.1, Initialize Pattern BMP Load (Page 57 of DLPC900 Programmer's Guide). I set the second parameter to be the size of the enhanced-RLE-compressed image, which includes header+data. The uploaded data might not be in the right chunk of memory, but i cannot think of anything wrong with the size i am uploading since i was doing exactly as the guide says. Also i discovered that even if i set size=0 for image 0 it will be displayed no matter what.
Second confusion i have is about the meaning of "index" in the programming guide. In function 2.4.4.3.4 Pattern Display LUT Definition, it mentions "pattern index" and "image pattern index", and in 2.4.4.4.1 Initialize Pattern BMP Load there is "image index", and all three of them have different range of values. I am currently setting all of them to be the same number for one image. But generally i am confused.
Finally, I often get "Sequence Abort Status Flag Error", which I kind of understand since the pattern sequence seems to be wrong.
I also looked into the source code of the published GUI. It seems that the source code is transferring image to splash image when we use Pattern-On-the-Fly, and upload it to Firmware. Could you also explain what the GUI is doing when hitting the "Update LUT" button?
Many thanks,
Jiayi