MDT693B_Scan
Version 1.0.0 (2.44 KB) by
Marcoleonetti1
Enables to control the MDT693B open loop piezo controller from thorlabs. Could be used also for MDT693A and MDT693 with functions update.
MDT693B_Scan.m By Marco Leonetti, CNR Nanotec, Roma Italy 27/07/2023
https://mlphotonics.wordpress.com/
Routine and functions to control the Thorlabs MDT693B Open loop
voltage/piezo controller.
May be working also for MDT693A and MDT693 but functions reneming would be required (not tested there)
Note that the MaxVoltage variable should be set properly to the attacched hardware: do not provide a voltage level superior to that of the recipient piezo/insturment. The MaxVoltage variable should be set to be lower or equal to the
maximumaccepted voltage of the ancillary hardware This has been tested with the POLARIS-P20a based Thorlabs piezo mirrors: KC1-P/M, KC1T-P/M, KC1-P, KC1T-P
should also work with AE0505D08Fa based Thorlabs piezo mirrors: KC1-PZ/M, KC1-T-PZ/M, KC1-PZ, KC1-T-PZ
for all these you can swithc the MaxVoltage to 150;
All responsabilityes on the use of such software are declined. This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do Whatever You Want "Swim at your own risk"
The same approach should be working fine for MDT693A and MDT693, but renaming of the serial commoand should be enacted (not tested)
the sortware generates the 's' serial communication object to open dialog with the open loop piezo control. the the two functions [Out ]=Piezomove(s,TargVoltage,Axis) and [Out time]=PiezomoveT(s,TargVoltage,Axis) are used to control voltage in a scan routine driven by a nested for loop. Piezomove and PiezomoveT are identical, ecept the T version also provides timing
Cite As
Marcoleonetti1 (2024). MDT693B_Scan (https://www.mathworks.com/matlabcentral/fileexchange/132797-mdt693b_scan), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with R2019a and later releases
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |