Skip to content
Snippets Groups Projects
Commit 08ac54ff authored by Christoph Schmidt's avatar Christoph Schmidt
Browse files

Updated files, removed @staticmethods

parent d1016488
No related branches found
No related tags found
No related merge requests found
# LaserControl
# Laser Control: Python Project for Sacher TEC Laser Control
LaserControl is a Python project developed to control Sacher TEC lasers. This project offers a convenient interface for users to interact with the laser, adjust parameters, and perform various operations for laser control and management.
Features
## Requirements
* Laser Parameter Adjustment: Laser Control allows users to adjust parameters such as wavelength and speed settings.
* User-friendly Interface: The project offers an intuitive graphical user interface (GUI) for easy navigation and control.
* Works with the Analog Discovery 2 driver:
Requirements
* Python 3.x
* Sacher TEC laser hardware (compatible models)
* Dependencies specified in requirements.txt
# Installation
Clone the repository:
```bash
pip install git+https://gitlab.tugraz.at/flexsensor-public/confighandler.git@develop
git clone https://github.com/agentsmith29/fs.lasercontrol.git
```
or
## Install dependencies:
```bash
pip install -r requirements.txt
```
# Usage
Run the main script:
```bash
pip install -e ../flexsensor-public/confighandler/
pip install ../flexsensor-public/fswidgets/
python examples/main.py
```
Use the graphical interface to adjust laser parameters, monitor data, and control the laser.
Refer to the user manual or documentation for detailed instructions on specific operations and functionalities.
# Contributing
Contributions to Laser Control are welcome! If you have suggestions for improvements, encounter any issues, or would like to add new features, please feel free to open an issue or submit a pull request on the GitHub repository.
# License
This project is licensed under the MIT License. See the LICENSE file for details.
# Acknowledgements
\ No newline at end of file
......@@ -3,7 +3,7 @@ import sys
from PySide6.QtWidgets import QApplication
from rich.logging import RichHandler
sys.path.append('./src')
sys.path.append('../src')
import LaserControl as Laser
if __name__ == "__main__":
......
......@@ -7,10 +7,11 @@ rich
pyyaml
# add the git repo
git+https://gitlab.tugraz.at/flexsensor-public/captdevicecontrol.git@develop
git+https://gitlab.tugraz.at/flexsensor-public/modules/fswidgets.git@develop
git+https://gitlab.tugraz.at/flexsensor-public/modules/confighandler.git@develop
git+https://gitlab.tugraz.at/flexsensor-public/modules/cmp.git@develop
git+https://github.com/agentsmith29/fs.captdevicecontrol@develop
git+https://github.com/agentsmith29/fstools.cmp@develop
git+https://github.com/agentsmith29/fstools.confighandler@develop
git+https://github.com/agentsmith29/fstools.fswidgets@develop
# Local installs
#../confighandler
......
......@@ -3,7 +3,7 @@ from LaserControl.controller.LaserControlErrors import LaserNotConnectedError
class ErrorConverter:
@staticmethod
#@staticmethod
def convert(msg, additional_message=""):
msg = msg.replace('>>>>>>>>>>>>>>>>>>>> ', '').strip()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment