Other Parts Discussed in Thread: DLP4500,
Hi there
I am trying to use my DLP4500 to display gray code. I have written 42 binary gray code images to two 24-bit RGB images and uploaded them to flash. I want to display these patterns in sequence via the Pattern Sequence Mode and reading off data from flash memory. In the GUI, I can select things like bit depth, color, and bit-plane (e.g. R0, R1, ...etc). Then I can send, validate and display the sequence successfully.
Now I want do it fully automatically with programming. However, I have problem understanding the DLPC350 programmer guide. I guess my problem lies on how to define all those parameters (e.g. bit-depth, bit-plane, LED color, etc) in code. As shown in the example in Section 4.1, Table 4.1, these things are done in step 7: Setting up LUT. My problems are:
1. We can see there are Byte 0, Byte 1, and Byte 2. Does it means I need to input three parameters in my code?
2. In step 7, we can see Byte 0 is subdivided to b1:0 and b7:0, where one control the trigger mode and one control bit-plane. However, I don't quite understand how does it works. For example, if I want it to be internal trigger and R0 as my bit-plane, what should I input there?
3. Same case for Byte 1 and Byte 2. For example, what does b3:0 and b6:4 means? If I want my bit weight to be 8, and LED color to be white, what should I input there?
For your information, I am using a python library to control the DLPC350. The link to the library is: https://github.com/WallaceIT/dlpc350
There is a function fillPatternData(self, data) where 3 bytes information are to be sent to the parameter 'data'. I am having difficulty in defining the 3 bytes input data. I think a better understanding on the programmer guide will help.
Thanks!
##### New Questions about Table 2-51 Edited 18/4/2019 3:24pm ####
In validation of the data sequence, there are some warnings. I am getting some of the warnings intermittently without modifying my code. For example, I sometimes get
'Selected exposure or frame period settings are invalid'
In another run, I get:
'Continuous Trigger Out1 request or overlapping black sectors.'
'Warning, post vector was not inserted prior to external triggered vector'
What do these warnings mean? What are the possible causes?
###########
Best regards,
Jeff Leung