Other Parts Discussed in Thread: DLPC350
How do i duplicate the setting of the pattern sequence in the GUI using the GUI source code.
I have successfully established connected the LightCrafter to my laptop via visual studio however i have issues writing the code to set up the correct pattern sequence. I understand that there are a whole lot of functions available in the DLPC350_api.cpp file and i can access this functions, but i'm unsure of what sequence or what functions i have to use to set the pattern sequence.
My questions are as follows:
1) Currently the firmware loaded in my LightCrafter have 3 images (Index 0 , 1, 2) in the flash memory.
Do i simply use the function : DLPC350_AddPatToLut(TrigType, PatNum, BitDepth, LEDSelect, InvertPat, InsertBlack, BufSwap, trigOutPrev) where PatNum is the index refers to the image index on my firmware? And repeat this 3 times to add 3 images into my pattern sequence?
2) What is the difference between ImageLut and PatternLut ?
3) How do i set the pattern configuration using DLPC350_SetPatternConfig(numLutEntries, repeat, numPatForTrigOut2, numImages)
If i am displaying 3 images in the pattern, does this mean that the parameter numLutEntries = 3, numPatForTrigOut2 =3 .
4)What i am trying to achieve in the end is :
Connect to LC - Set to pattern sequence mode - Set pattern sequence - Display pattern - disconnect from LC.
Can some one point out to me which functions to use to set a simple pattern sequence?
Your help is much appreciated,
Alvin