Skip to content

Add ShutterTTL: a TTL-triggered shutter on a NI-DAQ digital line - #104

Open
divimaestas wants to merge 1 commit into
LidkeLab:mainfrom
divimaestas:shutter-ttl
Open

divimaestas wants to merge 1 commit into
LidkeLab:mainfrom
divimaestas:shutter-ttl

Conversation

@divimaestas

Copy link
Copy Markdown

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 — NIdaq can 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_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.

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_broken in gui.jl.

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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant