Skip to content

Code and Compiling

José Carlos edited this page Jun 26, 2026 · 7 revisions

The code we provide is a C++ program that compiles into a shared library (.dll) that can be used in virtually any other programming language. We also provide wrappers for LabVIEW, MATLAB, Python, and C++ itself. A Visual Studio 2022 solution, plmctrl.sln can be found in the main directory of this repo.

Note that you'll also need to bring the files API.c, API.h, common.h, usb.c, usb.cpp, usb.h from C:\Texas Instruments-DLP\DLPC900REF-SW-5.1.0\DLPC900REF-SW-5.1.0\DLPC900REF-GUI\Source\HiresLib to /include/PLM. I used LightCrafter 5.1.0, so make sure you get them from the same 5.1.0 version. You can compile without it, but you won't have USB comms with the PLM to configure it.

The code uses Dear ImGui for handling graphics API calls and setting up a graphical user interface.

Dependencies

Clone this wiki locally