Repository navigation
Add ShutterTTL: a TTL-triggered shutter on a NI-DAQ digital line - #104
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 shutter whose controller takes a TTL level on a digital output: the line high opens it, low closes it. Written for a Thorlabs KSC101 driving a mechanical shutter, which accepts the line once its front-panel wheel is up, but nothing here is specific to that controller. export_state returns the three-tuple the interface asks for. Verified on the TIRF rig: two shutters on Dev1/port0/line4 and Dev1/port1/line1, opening and closing under GUI control.
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 shutter whose controller takes a TTL level on a digital output: the line high opens it, low closes it. There was no shutter type before this —
NIdaqcan write the DO lines, but nothing modelled the shutter itself.Written for a Thorlabs KSC101 driving a mechanical shutter, which accepts the line once its front-panel wheel is up, but nothing in the driver is specific to that controller.
export_statereturns the three-tuple the interface asks for.Verified on the TIRF rig: two shutters on
Dev1/port0/line4andDev1/port1/line1, opening and closing under GUI control.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.