This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DLP7000: DLP products forum

Part Number: DLP7000

Hello,

I am attempting to write a python script that will call the D4100_usb.dll file to programmatically control the DLP. I have been using the DLP4100 API Programmer's Guide to find the function prototypes and have been able to successfully call some of the functions. However, I have not been able to successfully generate an image on the DMD. I think that I am missing something in terms of logic, so I was wondering if someone might be able to lay out which functions I need to call and in which order. There is nice documentation for ActiveX in the Programmer's Guide, which provides a flowchart and example code to represent the logic. However, I cannot discern the same level of clarity from the documentation on using the .dll file and am a bit stuck on how to proceed.

Additionally, would someone be able to further explain APPS_FPGA and what the program_FPGA function within the .dll does. For context, I am an engineering intern with a background in Python, but little experience with .dll files or programmatic hardware control.

Thanks in advance,

Casey

  • Casey,

    What is most people tend to miss is that the pixel data is a char array for the data to send to the DMD where char 0 represents the first 8 bits and so on.  This tripped me up when I started a long time ago trying to use the dll directly (which I highly recommend).  ActiveX can have some issues with the array usage.

    Fizix