Skip to content

Commit 0c4a88b

Browse files
Update
Updated so that it follows the general layout for most of our documentation. The troubleshooting was provided as a note, and the image of the traceback was removed. Also, given that the shutter requires a NI-based device to trigger it, and it is currently only configured to have a digital port, I have updated the documentation to specify this.
1 parent 9ac4c55 commit 0c4a88b

File tree

2 files changed

+22
-30
lines changed

2 files changed

+22
-30
lines changed
-56.5 KB
Binary file not shown.

docs/source/user_guide/hardware/shutter.rst

Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,36 @@
22
Shutters
33
========
44

5-
When controlled with analog, digital, or mixed modulation, not all laser sources
6-
reduce their emitted intensity to 0. In such cases, residual illumination subjects
5+
When only controlled with analog modulation, many laser sources do not
6+
reduce their emitted intensity to 0 watts. In such cases, residual illumination subjects
77
the specimen to unnecessary irradiation between image acquisitions. Shutters overcome
88
this by completely blocking the laser, albeit on a much slower timescale than direct
99
modulation of the laser. With **navigate**, shutters automatically open at the start
1010
of acquisition and close upon finish.
1111

12+
Most shutters are controlled via a digital voltage. When the voltage is high (e.g., >
13+
2.5 V), the shutter is open, and when the voltage is low (e.g., < 2.5 V), the shutter
14+
is closed.
15+
1216
------------
1317

14-
Analog/Digital-Controlled Shutters
15-
----------------------------------
18+
National Instruments (NI)
19+
----------------------------
20+
21+
We can control these shutters using a digital output from a National
22+
Instruments (NI) data acquisition card.
1623

17-
Thorlabs shutters are controlled via a digital on off voltage.
24+
.. Note::
25+
26+
If the shutter opens and closes immediately upon starting an acquisition, try a
27+
different port for the digital I/O on the NI data acquisition card. Some NI devices
28+
(e.g.PCIe-6738) have port/sample size limitations. If the port/sample size is
29+
exceeded, the shutter will not open. For example, on our `NI PCIe-6738 <https://www
30+
.ni.com/docs/en-US/bundle/pcie-6738-specs/page/specs.html>`_ using port 0 for the
31+
shutter causes this issue, but switching the shutter to any port 1 channel fixed it.
32+
In comparison, for the `NI PCIe-6259 <https://www.ni
33+
.com/docs/en-US/bundle/pci-pcie-pxi-pxie-usb-6259-specs/page/specs.html>`_,
34+
using port 0 had no averse effects.
1835

1936
.. collapse:: Configuration File
2037

@@ -52,28 +69,3 @@ shutter.
5269
max: 5.0
5370
5471
|
55-
56-
------------------
57-
58-
Potential Issues and Solutions
59-
-----------------
60-
61-
**Issue:**
62-
63-
Shutter opens and closes immediately upon starting any acquisition mode, no traceback error occuring.
64-
Model Debug log files indicate that the shutter is correctly recognizing when it should be open/closed.
65-
66-
.. image:: docs/source/user_guide/hardware/images/Shutter_ModelDebug.png
67-
:align: center
68-
:alt: Examples of debug messages indicating opening/closing of the shutter
69-
70-
**Potential Solution:**
71-
72-
Try a different port for the digital I/O on the controller, making sure to update the port in your configuration file as well.
73-
Some NI devices (e.g.PCIe-6738) have port/sample size limitations. If the port/sample size is exceeded, the shutter will not open.
74-
For example, on our `NI PCIe-6738 <https://www.ni.com/docs/en-US/bundle/pcie-6738-specs/page/specs.html>`_
75-
using port 0 for the shutter causes this issue, but switching the shutter to any port 1 channel fixed it.
76-
In comparison, for the `NI PCIe-6259 <https://www.ni.com/docs/en-US/bundle/pci-pcie-pxi-pxie-usb-6259-specs/page/specs.html>`_,
77-
using port 0 had no averse effects.
78-
79-

0 commit comments

Comments
 (0)