Skip to content

Conversation

@juliomateoslangerak
Copy link
Contributor

  • Adds support for Coherent OBIS laser
  • FIxes an issue with deepstar laser where six is called without being imported

@mickp, please check what we want to do with the additional timing for the response of the deepstar:
microscope-cockpit/cockpit#369

Cannot manage to get camera attributes programmatically
Fixed some getters and setters of camera parameters
# Conflicts:
#	doc/SERVERS
#	doc/example.py
#	microscope/devices.py
Zeros outside of the array are trimmed
Adding a sleep of 0.2 sec solves the problem.
Maybe there is another more elegant solution
- settings isReadOnly was not called correctly when implemented as a lambda
# Conflicts:
#	microscope/lasers/deepstar.py
#	microscope/testsuite/devices.py
#	setup.py
# Conflicts:
#	microscope/devices.py
carandraug added a commit that referenced this pull request Nov 19, 2019
This implementation is more than one year old and no longer is valid
for the current microscope code.  This commit does the following
changes:

* replaces Device._logger with a module logger.  See issue #110.

* removes use of *args from the constructor.  See issue #84.

* set default values for baudrate and timeout time.

* replace isAlive() method with is_alive method (see e687cd0)

* implement is_alive() to check if device is replying at all instead
  of using get_is_on() which only checks if device is emitting light.

* implement get_min_power_mw() and get_power_mw(), and remove
  _set_power() and _get_power() which defines behaviour when setting
  power values outside valie range (issue #51).
@carandraug
Copy link
Collaborator

Thank you for the implementation. I got the implementation from this branch, made a commit with you as author, another commit with changes required for the current master branch, and merged it. You should test it still works as before, we can't. Closing the issue though.

@carandraug carandraug closed this Nov 19, 2019
@juliomateoslangerak juliomateoslangerak deleted the Obis_laser_clean_implementation branch August 4, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants