Hi everybody,
I am fairly far into a project now where I've made slight modifications to some of the LCR 4500 source code to create a .dll file for use with LabVIEW. That portion seems to have been largely successful; using a tweaked version of API.cpp and the hidapi.h, I can issue commands and the LCR appears to be responsive. My question is related to the exact sequence of commands that should be issued in order to stream a series of images across the mini-HDMI in Pattern Sequence mode.
My program so far performs these steps:
1. Initialize hid
2. Open USB connection with LCR
3. Stop any currently running sequence via LCR_PatternDisplay
4. LCR_SetMode to enter pattern sequence mode, LCR_SetPatternTriggerMode to set Vsync, LCR_SetPatternDisplayMode to set video mode, LCR_SetExposure_FramePeriod for appropriate exposures (which I double-checked using the GUI). These all appear to be running successfully.
Here is where things get a little muddled for me. In the GUI I'm required to then choose a color and add a pattern to the sequence, then validate before playing it. I'm not really clear which of these are strictly associated with the UI in the GUI, and which are actually necessary to control the projector, nor what functions would correspond to doing the same without actually using the GUI.
What exactly do I need to call in addition to what I've already got? For instance, I've been trying to avoid the Validation command because LabVIEW is contrary when it comes to pointers, but fear that it may be required.
Thanks in advance,
Nick