I am using K10CR1 rotation stage. So I downloaded K10CR1 switch module and device in sweepme tools.
And I installed thorlabs kinesis 32bit-library. (Requirements)
But sweepme cannot find the port and it says warning when I run the software.
How can I solve this problem?
It is most likely that the bitness (32 bit or 64 bit) of the Kineses libarary and of SweepMe! do not match.
If you have installed our latest version SweepMe! 1.5.6., then it now comes as 64 bit version as default.
You can check the bitness of SweepMe! either by checking the program shortcut on your desktop
or you check the first line in the Info box of the General tab
If you have a 64 bit version of SweepMe!, please uninstall your 32bit Kinesis and install again “Kinesis 64-Bit Software for 64-Bit Windows”.
Then, the SweepMe! driver should be able to find the correct path of the Kinesis library.
I have updated the driver page for the Thorlabs K10CR1 driver accordingly:
In general, we recommend to use SweepMe! 64 bit. Only a few users need SweepMe! 32bit to control older equipment that comes with 32 bit only libraries.
Thanks for your response.
I installed 64bit version kinesis, so sweepme can find the port.
But when I enter test value like 30, it says warning again.
If the sweep mode is position, isn’t the value between 0 and 360?
So 30 degree should be fine and it should be possible to use any value between 0 and 360, maybe even beyond 360 to perform multiple rotations.
The error message says at the end “See Debug widget (F2) for details”. Can you open the debug widget or check the debug.log in the following folder
C:\Users\Public\Documents\SweepMe!
If you post the error message that is generated by starting a measurement or by using the Apply button in the Switch module, we can identify the line in the code that makes the problem.
I guess that the error already happens before the position is set, already during the initialization and configuration phase.
Because the driver definitely works for one of our users, there might be something different about your stage. Can you operate your K10CR1 stage with the Kinesis software?
I agree with Axel that there seems to be some issue with utilizing the libraries that the K10CR1 sweepme driver calls upon. But with all the bitnesses in agreement, I’m not sure what else is wrong. Are you careful to exit Kinesis before starting a sweepme run?