-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding laser base and voltran stradus laser module #148
Conversation
I see you've written this to use the RS-232 connection. These are quite outdated at this point, and would limit the usability of this device. It would also be hard to connect multiple lasers to the same workstation. I would encourage you to use the USB interface instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @edyoshikun ! Thank you for the PR, dropped some comments for the first iteration.
@ieivanov I agree with you and will implement it in the second iteration. At the moment, I am waiting for Voltran to provide us with more documentation on the USB side. There seems to be something blocking me from writing to it, so for testing and debugging to keep us moving forward, the RS-232 implementation works well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for addressing all comments @edyoshikun , if you are happy with your tests we can go ahead and merge this PR! (after it passes the CI)
@AhmetCanSolak I added more tests and it all looks good. I saw some flake8 issues but wasn't quite sure what was 'best practices' way to fix them was. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks all good!
Laser Drive Control Mode | ||
Sets Power or Current Control | ||
(1 = Current Control) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you provide the value use for power control?
Passing CI is enough for now but CI is currently failing, please address the style and lint issues before we merge this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@edyoshikun please check and test the implementation after my refactor and let me know if I broke anything
Just tested this physically the demos worked like a charm. Thank you @AhmetCanSolak for the refactoring. |
This adds the abstract base class for lasers and the implementation of the voltran stradus laser for photom.
This addresses the laser requirement for #146