Interfacing class to control stage from MATLAB.
I wrote a new interfacing class to control the motorized 50 mm travel stage `LNR502` or `LNR502/M` from Thorlabs directly from `MATLAB`. The object oriented approach of handling the class allows the user to intuitively control settings like position, velocity, and acceleration directly through a single object. The class should be easily adaptable for other stepper motor driven stages made by Thorlabs. The .NET interface provided with the Kinesis software bundle allows a straightforward implementation into custom programs. Writing the whole interface took half a day and I am quite happy with the result. You can find the code on [github](https://github.com/razanskylab/Stage_Thorlabs_DRV250). Feel free to contact me if you have feature requests or if you tested it with a different stepper motor driven linear stage. I also have classes for other stage types based on different .NET classes: * [Stage_Thorlabs_DRV250](https://github.com/razanskylab/Stage_Thorlabs_DRV250) * [Stage_Thorlabs_MTS50](https://github.com/razanskylab/Stage_Thorlabs_MTS50) * [Stage_Thorlabs_DDSM50](https://github.com/razanskylab/Stage_Thorlabs_DDSM50) * [Stage_Thorlabs_MLJ150](https://github.com/razanskylab/Stage_Thorlabs_MLJ150) credit for this one goes to Johannes ## Links * [github](https://github.com/razanskylab/Stage_Thorlabs_DRV250) * [Stage LNR502/M](https://www.thorlabs.com/thorproduct.cfm?partnumber=LNR502/M) * [Stage LNR502/M Manual](https://www.thorlabs.com/drawings/a72aa2c5ebed694a-68494C7D-F44D-4E78-1E20F94FDFBDC8E7/LNR502_M-Manual.pdf) * [Benchtop Stepper Controller](https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_ID=1704)