Repository navigation
Add CoherentSapphire: the 561 nm Sapphire over its serial port - #105
Open
divimaestas wants to merge 1 commit into
Open
divimaestas wants to merge 1 commit into
divimaestas wants to merge 1 commit into
Conversation
A Coherent Sapphire 561-100 speaks ASCII over RS-232 at 19200 baud, CR/LF terminated: P= sets power, L=1 enables emission, ?P and ?STA read back. The protocol follows MIC_CoherentLaser561.m in matlab-instrument-control. setpower verifies against ?SP, since the laser stores to 0.1 mW; getpower reads the measured ?P. The range 10-110 mW is the unit's own. This is the serial half only: on the TIRF rig the 561 also has a TTL shutter, which is a separate device. Verified on the laser: STA=3, SV=8.005, power set and read back. Co-Authored-By: Claude Opus 5
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Coherent Sapphire 561-100 speaks ASCII over RS-232 at 19200 baud, CR/LF terminated:
P=sets power,L=1enables emission,?Pand?STAread back.This does not overlap
crysta_laser_561. That driver sets a CrystaLaser's power as a voltage on a DAQ analogue output — no command language, no readback. The Sapphire is a serial device, so it needs its own driver rather than a change to that one.The protocol follows
MIC_CoherentLaser561.min matlab-instrument-control.setpowerverifies against?SP, since the laser stores to 0.1 mW;getpowerreads the measured?P. The range 10–110 mW is the unit's own.This is the serial half only: on the TIRF rig the 561 also has a TTL shutter, which is a separate device.
Verified on the laser: STA=3, SV=8.005, power set and read back.
Full local suite: 8293 pass, 2 fail, 3 broken. The two failures are in
lightsource_modulation.jl— a 100 ms latency bound overshot by 2–7 ms under machine load; that testset passes 729/729 run alone on a quiet machine. The 3 broken are the existing@test_brokeningui.jl.