Go to file
2024-11-01 16:26:56 +01:00
__pycache__ initialise git repository 2024-10-30 12:50:26 +01:00
Dasha_LCRCode.py cleaned up the scan script, updated the README.md script (unfinished) 2024-11-01 16:26:56 +01:00
KLC101_basic_example.py initialise git repository 2024-10-30 12:50:26 +01:00
KLCCommandLib64.py initialise git repository 2024-10-30 12:50:26 +01:00
KLCCommandLib_x64.dll initialise git repository 2024-10-30 12:50:26 +01:00
KLCCommandLib_x64.lib initialise git repository 2024-10-30 12:50:26 +01:00
KLCCommandLibTest.py Minor changes/ updates to readme file and old example Python script 2024-10-31 13:14:45 +01:00
notes.txt updated notes, work on the helper_scan_func 2024-10-31 11:33:22 +01:00
README.md cleaned up the scan script, updated the README.md script (unfinished) 2024-11-01 16:26:56 +01:00

Thorlabs K-Cube Liquid Crystal Controller (KLC101) Code

This code is implemented to rotate the Liquid Crystal Retarder.

How to use the script

The user of the script must enter the given start- and end voltages, as well as the voltage resolution (controller voltage resolution is 1 mV!), which are located at the bottom of the script. TODO: CONTINUE EXPLANATION

Notes

  1. For the code to work, change the directory to load the KLCCommandLib_x64.dll file, located in 'KLCCommandLib64.py', line 5, to your specific directory, in which the .dll file is stored. The line of code is as follows:

    klcLib=cdll.LoadLibrary(r"C:\Users\rtan\Documents\RyanWork2024\Dasha-LCR_Code\Thorlabs_KLC_PythonSDK\"KLCCommandLib_x64.dll")

  2. Another issue is then importing the other needed folders, probably have to have all the required files in the same scan script folder on the offline computer. (This is probably resolved in the newer version of the code.)

Standing Issues/Planned Updates