Thorlabs / Motion_Control_Examples

Software examples for Thorlabs motion control products (e.g. T-Cube, K-Cube, and benchtop brushless, DC, stepper, and Piezo motor controllers)
MIT License
71 stars 28 forks source link

KPZ101 Example Error #50

Closed JoeyYin-SEU closed 3 months ago

JoeyYin-SEU commented 4 months ago

The type use 81 at "TLI_GetDeviceListByTypeExt(serialNos, 100, 81);" But 81 is the type of TPZ001. The right code is 21.

JoeyYin-SEU commented 4 months ago

What's more, we found a very ridiculous problem. When I use debug mode, the device cannot be opened (using PCC_Open(*)). But it will be normal at Release mode. Why?

TrumanMetz commented 3 months ago

Hello Joey, Thank you for bringing that typo to our attention and we will get that fixed. As for the debug and release issue, it seems like the new release of the KPC101 has caused some issues with the KPZ101 dlls which I believe might be causing this issue. We will be looking into this with the developers and working on a fix as soon as we can. If you contact your local tech support team (techsupport-cn@thorlabs.com) we can notify you of when the fix is available.