We have an application where part of our pattern sequence uses the green LED for about 15 frames, and then we want to do a single R, G, and B frame to extract a color image of our object using a monochrome camera. We are triggering the DLP from the camera at a 90Hz frame rate, and we need the RGB sequence and the rest to run at that 90Hz speed, so manually changing the R,G,B global pattern setting is time prohibitive. I guess we are wondering why there isn't a per-pattern LED selection variable in this API in the first place? Obviously the hardware is capable of switching the LED drive on the fly as this is the basis of normal full-color operation of this DLP. It seems like adding this feature would open up a lot of possibilities for people, including full color pattern sequences where the R,G,B drive sequence is controlled by the user. Adding such functionality can easily be made backwards compatible by adding a pair of LCR_CMD_DefinePatternBMPEx and LCR_CMD_ReadPatternEx commands that take the LED color as an additional parameter. If a API user uses the LCR_CMD_DefinePatternBMP and LCR_CMD_ReadPattern commands instead, the LED color will default to the LCR_CMD_SetPatternSeqSetting LEDSelect value.
What do you think?
Colby