wavefrontshaping / ALP4lib

Python control module for Vialux DMDs based on ALP4.X API.
MIT License
54 stars 37 forks source link

3 Errors found. #22

Closed Bdemirel-cpu closed 6 days ago

Bdemirel-cpu commented 6 months ago

Here are 3 minor errors I found in ALP4.py (v 1.0.1).

Line 377: libDir = (_winreg.QueryValueEx(key, "Path"))[0] + "/ALP-{0} API/".format(version)

I don't have such a folder: "/ALP-{0} high-speed API/" for example does work.

Line 397: libPath += 'alpD41.dll' This was mentioned already, but it should say: “alpV42”

Line 894: self._checkError(self._ALPLib.AlpDevControlEx(self.ALP_ID, controlType, userStruct.byref()), 'Error sending request.')

The command userStruct.byref() should be replaced by: ct.byref(userStruct) .

wavefrontshaping commented 6 days ago

Sorry for the delay, I implemented those changes. Thanks.