Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4
Code and Compiling
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.