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.

DLPC300: DLP LightCrafter EVM - Windows compatible code/Python sample code

Part Number: DLPC300

Hi,

I am using the C sample code provided by TI to control the DLP LightCrafter EVM.

I find that the code runs well on a mac computer, but that it only works on a Windows computer if I compile it using gcc (dowloaded from cygwin), and that while the code compiles using the compiler from Visual Studio, it will through a host error if I try to run the resulting code.

My experiment is controlled with Python programs, so I am trying to wrap the C code in Python (compiling the C functions as a library, that I can import in Python using ctypes). Once again, compiling the library on mac works well, but I need to run the code on a Windows computer due to another device in my experiment. On Windows, a library compiled with gcc does not allow me to access the C code, while a library compiled with Visual Studio throughs a host error.

Is it possible to use that code with Visual Studio? Even better, is there a sample code already written in Python available?

Thank you,

Isabelle