Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 130 to 130 | ||||||||
Added: | ||||||||
> > | Direct Access to APIThe LogicPD control software GUI is tedious to use for repeated experiments, and cannot be scripted. Defining a pattern sequence requires that you click the "add" button, navigate to a file (the file choose defaults to only displaying BMP images), select and add it, optionally choose a threshold value, and click OK. Then it takes a few seconds to convert the file to the native DBI format. For a sequence of hundreds of patterns, this can take a very long time, and making changes to the patterns will be tedious and error-prone. Fortunately, the DBI format is very simple and can be reverse engineered. Even more fortunately, all the important bits are implemented in a DLL file (the control software simply calls this) and one of those DLL functions can execute a batch file (text file) containing commands that map directly onto DLL functions. It's very easy to call these functions from Python. See the attached script for an example of how to generate the DBI files and display them in sequence. There are some tricky aspects to this (particularly dealing with triggers), described in more detail in the script comments. To run the script, make sure that PortabilityLayer.dll and DlpCommDLL.dll (from the SDK) are in the same directory. -- BradAtcheson - 20 Sep 2011 | |||||||
-- OliverSchneider - 27 Apr 2011
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 121 to 121 | ||||||||
Triggers | ||||||||
Changed: | ||||||||
< < | The projector has three jacks for analogue triggers that allow for synchronization with cameras or many other devices. The hardware input trigger is located on a pin on a chip somewhere inside the projector but at least one poster on the forum reports that they were unable to find it based on the schematics. The 3 external triggers are for output synchronization. | |||||||
> > | The projector has three jacks for analogue triggers that allow for synchronization with cameras or many other devices. The 3 external BNC connectors (User Syncs) are for output synchronization only. There is also an input trigger but this is not exposed on the exterior ports. You need to attach the trigger directly to pins on the board. See the discussion here![]() | |||||||
Loading Images | ||||||||
Line: 135 to 135 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 96 to 96 | ||||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
Additional Features |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 22 to 22 | ||||||||
The DLP Light Commander is a projector that allows for extremely high frame rates, precise control over exposure time, colour balance of monochromatic light, and IR light. It is extremely finicky but very powerful. It runs on 32-bit operating systems only, and has only been tested with Windows XP. There are three different modes for display: Video, where it operates as a normal colour projector at up to 60 Hz; Structured Light, where it displays a series of static, monochromatic images read from onboard memory at rates of up to 5000Hz; and Real Time Structured Light, where it displays monochromatic images from a dynamic input (such as DVI) at up to 1440 Hz. In the software, Structured Light and Real Time Structured Light are differentiated only by source - they are both found under "Structured Light". | ||||||||
Added: | ||||||||
> > | NB: Do not set the "LED Strength" parameter to any value greater than 60%. See Errata E0031 on the software download page for more details. | |||||||
Installation & Start up | ||||||||
Line: 118 to 119 | ||||||||
Triggers | ||||||||
Changed: | ||||||||
< < | The projector has three jacks for analogue triggers that allow for synchronization with cameras or many other devices. | |||||||
> > | The projector has three jacks for analogue triggers that allow for synchronization with cameras or many other devices. The hardware input trigger is located on a pin on a chip somewhere inside the projector but at least one poster on the forum reports that they were unable to find it based on the schematics. The 3 external triggers are for output synchronization.
Loading ImagesImages can be loaded via the DLP software application. This requires generating (max) 1024x768 images and loading each one via the GUI. The software will convert these to DBI files. The DBI format is not published, nor is there an external tool to produce these images. However, the software will produce a DBI file from the loaded patterns, and save it to the hard drive. It's apparently fairly straightforward to reverse-engineer this format. | |||||||
-- OliverSchneider - 27 Apr 2011 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 12 to 12 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 51 to 51 | ||||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 105 to 105 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Sample code can be found by taking the following steps (on Windows XP):
| ||||||||
Line: 113 to 113 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Triggers | ||||||||
Line: 121 to 121 | ||||||||
-- OliverSchneider - 27 Apr 2011 | ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Deleted: | ||||||||
< < | -- OliverSchneider - 25 Apr 2011 | |||||||
Back to PSM Lab | ||||||||
Deleted: | ||||||||
< < | This page is a work in progress. | |||||||
DLP Light CommanderThe DLP Light Commander is a projector with really, really fast refresh rates and precision timing. | ||||||||
Line: 20 to 16 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 60 to 56 | ||||||||
Using the Control Software | ||||||||
Added: | ||||||||
> > | The software is finicky, but relatively straight forward. The best advice is to follow the User Manual's instructions. One key difference between the control software and the different modes cited in the documentation is that the software separates projection mode and input mode. That is, it has two light modes: Video (colour, standard frame rates) and Structured Light (monochromatic, faster frame rates). The difference between Real Time Structured Light Mode and Structured Light Mode as cited in other documentation is the input mode (static image vs. DVI). The software has different solutions, which have different projects contained within them. The easiest method to creating a new project is using the wizard found in the "New" menu. Note that that bits per pixel is specified when creating a project. Also, switching between Structured Light and Video modes does not always seem to work; creating a new project is often necessary. Important: Make sure that the DLP Light Commander is plugged in via USB and turned on (in "run" mode) before starting the software. The USB cable is used to change real-time settings (such as flipping the image horizontally or vertically) and to compile and download a program to the projector. Once the projector has its program in memory, you can unplug the USB cable and the projector will continue to operate. DVI input can come from anywhere. Note that turning the projector off will lose whatever program is stored in memory. Static image control programs must be tediously constructed by importing every image individually. If the project is in Structured Light mode, you will be asked to specify a threshold for converting it to a bitmap. Images can be either cycle at the specified frame rate, or manually stepped forward/backward. APIs exist for writing more elaborate control programs, but they have not been confirmed by anyone in the lab. See Additional Features below for more information. | |||||||
The Different ModesThere are three different modes for display: Video, where it operates as a normal colour projector at up to 60 Hz; Structured Light, where it displays a series of static, monochromatic images read from onboard memory at rates of up to 5000Hz; and Real Time Structured Light, where it displays monochromatic images from a dynamic input (such as DVI) at up to 1440 Hz. In the software, Structured Light and Real Time Structured Light are differentiated only by source - they are both found under "Structured Light". | ||||||||
Line: 68 to 76 | ||||||||
Video | ||||||||
Added: | ||||||||
> > | Video allows for colour projection at standard frame rate either from DVI input or static (colour) images. Video can be displayed at up to 60 Hz, and a maximum of 40 images can be stored in the projector's memory. | |||||||
Structured Light | ||||||||
Added: | ||||||||
> > | This mode displays predefined images at extremely high frame rates (from 6 to 5000 Hz). You must individually import each image into the project, and specify thresholding to create a bitplane. The projector can only store 960 bitplanes in memory. These images will cycle at the specified frame rate, or can be manually stepped through using the control software. There are APIs that might allow for more elaborate manipulation of stored images; see Additional Features for more information. | |||||||
Real-Time Structured Light | ||||||||
Added: | ||||||||
> > | This mode allows for frame rates of up to 1440 Hz specified in real time. The projector takes 24-bit RGB colour information as 24 bit planes, rendering monochromatic light at 24x the computer's expressed frame rate (24 x 60 = 1440). To do this, specify 1-bit colour in the wizard when creating a new project, set the projection mode to Structured Light and the input to DVI. Then, have your display program render RGB colour as 24 bits, with each subsequent bit representing a pixel at a different frame rate. That means that the 8 red bits are the first 8 subframes (called "patterns" by the documentation), the 8 green bits are the next 8 subframes, and the blue bits are the final 8. | |||||||
Tips & Tricks
| ||||||||
Line: 85 to 99 | ||||||||
There are several additional features that have not been confirmed by a PSM lab member. | ||||||||
Added: | ||||||||
> > | APIIt is possible to create a batch file using commands the DLP Light Commander understands. Relevant documentation can be found at the following links:
TriggersThe projector has three jacks for analogue triggers that allow for synchronization with cameras or many other devices. -- OliverSchneider - 27 Apr 2011 |
Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > | Back to PSM Lab | ||||||||||||||||||
This page is a work in progress.
DLP Light Commander | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | The DLP Light Commander is a project with really, really fast refresh rates. | ||||||||||||||||||
> > | The DLP Light Commander is a projector with really, really fast refresh rates and precision timing. | ||||||||||||||||||
Overview | |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
Installation & Start up | |||||||||||||||||||
Added: | |||||||||||||||||||
> > | HardwareThe DLP Light Commander comes with a power cord, a USB cable, an HDMI to DVI converter cable (the HDMI end connects to the projector itself), and a user manual.Software Download and InstallationGo to the following link and click on support: http://www.logicpd.com/products/development-kits/dlp-lightcommander-development-kit![]()
Turning the Projector On
Using the Control Software | ||||||||||||||||||
The Different Modes | |||||||||||||||||||
Added: | |||||||||||||||||||
> > | There are three different modes for display: Video, where it operates as a normal colour projector at up to 60 Hz; Structured Light, where it displays a series of static, monochromatic images read from onboard memory at rates of up to 5000Hz; and Real Time Structured Light, where it displays monochromatic images from a dynamic input (such as DVI) at up to 1440 Hz. In the software, Structured Light and Real Time Structured Light are differentiated only by source - they are both found under "Structured Light".
Important: When changing whether a project is using one of the Structured Lights or Video, you must create a new project. The software fails to compile when you change this without creating a new project.
VideoStructured LightReal-Time Structured Light | ||||||||||||||||||
Tips & Tricks | |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
Additional FeaturesThere are several additional features that have not been confirmed by a PSM lab member. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
DLP Light CommanderThe DLP Light Commander is a project with really, really fast refresh rates.OverviewInstallation & Start upThe Different ModesTips & Tricks |