Solstis class

a class to control the MSquared Lasers 'SolsTis' laser
78 Downloads
Updated 18 Nov 2016

View License

Matlab class to control the M Squared cw TiSapph laser over TCP/IP.

This script can be used to send commands to the Solstis and read back its reports. The class limits the number of solstis objects that can be instantiated (current limit is two, but this is easily changed in the class constructor). The class provides basic functionality of setting and reading the wavelength, applying wavelength feedback (requires a
wavemeter link) to lock the wavelength to a certain value. It also supports the more sophisticated built-in scan routines TeraScan and FastScan provided by M Squared Lasers.
The class provides a level of usability by checking user input for compatibility with the solstis and returning informative warnings and error messages. It also parses the solstis reports (single strings) into matlab structs with a separate field for each piece of information.

Please note that some functions require a direct connection between the solstis and a wavemeter. Ask M Squared Lasers for further information.

N.B.: Currently, the class requires the user to insert the ip-address of the PC on which the script is run. By default, it is set to '192.168.1.220' in the constructor. Either change this value in the script, or change it after instantiation by doing the following:
solstis = Solstis.getInstance( ... , ... ) (fill in solstis ip and port)
solstis.pc_ip_address = 'xxx.xxx.xxx.xxx' (fill in pc ip-address as a string)

Cite As

Jakko de Jong (2024). Solstis class (https://www.mathworks.com/matlabcentral/fileexchange/60282-solstis-class), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Instrument Connection and Communication in Help Center and MATLAB Answers
Acknowledgements

Inspired by: solstislab

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0