mcleu / PyAPT

**DEPRECATED** Controlling Thorlabs APT using Python code using APT.dll and APT.lib, bypassing the activex controls
MIT License
32 stars 22 forks source link

self.aptdll.APTInit() bug #13

Closed ChangShuaibin closed 6 years ago

ChangShuaibin commented 7 years ago

Hi, I used the pyapt.py to control the stage, but when it ran through self.aptdll.APTInit() something was wrong, I couldn't figure out the reason. Can anyone help me? Thanks.

mcleu commented 6 years ago

Can you run the debug file? Which line does it get stuck on? What's the error message you're getting?

ChangShuaibin commented 6 years ago

Hi, Michael,

Thanks for your reply. I've solved the problem. It turned out that your shared dll file didn't apply to our stage. I downloaded the aptuser software and used that dll file and the control of the stage was successful. Thanks anyway!

Best,

Shuaibin

2018-01-06 4:04 GMT+08:00 Michael Leung notifications@github.com:

Can you run the debug file? Which line does it get stuck on? What's the error message you're getting?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mcleung/PyAPT/issues/13#issuecomment-355652011, or mute the thread https://github.com/notifications/unsubscribe-auth/Afp2yJfPdlsN30wNc5J23NQkXbNZSMG3ks5tHoA0gaJpZM4QdAiE .

mcleu commented 6 years ago

Great! I am glad you sorted it out. Did the new .dll work with the PyAPT python code? Or did you need a new code?

ChangShuaibin commented 6 years ago

The code worked. It was great. Thanks.

2018-01-06 13:53 GMT+08:00 Michael Leung notifications@github.com:

Great! I am glad you sorted it out. Did the new .dll work with the PyAPT python code? Or did you need a new code?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mcleung/PyAPT/issues/13#issuecomment-355725711, or mute the thread https://github.com/notifications/unsubscribe-auth/Afp2yDwe9j3Z69QAAbHrj7btnfCbyg7tks5tHwpLgaJpZM4QdAiE .