Skip to content

Commit 45a17b0

Browse files
Laser and Shutter Components
1 parent a4bf414 commit 45a17b0

File tree

3 files changed

+72
-7
lines changed

3 files changed

+72
-7
lines changed

docs/source/02_user_guide/01_supported_hardware/laser.rst

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ modulation.
6969
min: 0.0
7070
max: 5.0
7171
72-
|
73-
7472
-------------------
7573

7674

@@ -114,4 +112,49 @@ Synthetic Lasers
114112
min: 0.0
115113
max: 5.0
116114
117-
|
115+
-------------------
116+
117+
ASI Laser
118+
119+
We currently support laser control via voltage signals. ASI Tiger Controller-based lasers
120+
are now supported for both digital and analog modulation through the ASILaser class.
121+
Future versions may expand a non-serial-based laser control using the ASI system.
122+
--------------------------------
123+
124+
.. collapse:: Configuration File
125+
126+
.. code-block:: yaml
127+
128+
microscopes:
129+
microscope_name:
130+
lasers:
131+
-
132+
wavelength: 488
133+
onoff:
134+
hardware:
135+
type: ASI
136+
axis: [2-8]
137+
min: 0.0
138+
max: 5.0
139+
power:
140+
hardware:
141+
type: ASI
142+
axis: A
143+
min: 0.0
144+
max: 5.0
145+
-
146+
wavelength: 561
147+
onoff:
148+
hardware:
149+
type: ASI
150+
axis: [2-8]
151+
min: 0.0
152+
max: 5.0
153+
power:
154+
hardware:
155+
type: ASI
156+
axis: B
157+
min: 0.0
158+
max: 5.0
159+
160+
-------------------

docs/source/02_user_guide/01_supported_hardware/shutter.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,24 @@ shutter.
6868
min: 0.0
6969
max: 5.0
7070
71-
|
71+
------------------
72+
73+
ASI Shutter
74+
75+
We can control these shutters using a digital output from a ASI Tiger Controller.
76+
-----------------
77+
78+
.. collapse:: Configuration File
79+
80+
.. code-block:: yaml
81+
82+
microscopes:
83+
microscope_name:
84+
shutter:
85+
hardware:
86+
type: ASI
87+
axis: [1-8]
88+
min: 0.0
89+
max: 5.0
90+
91+
|

src/navigate/config/configuration_database.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@
160160
shutter_hardware_widgets = {
161161
"type": ["Device Type", "Combobox", "string", shutter_device_types, None],
162162
"channel": ["NI Channel", "Input", "string", None, "Example: PXI6259/port0/line0"],
163-
"port": ["COM Port", "Input", "string", None, "e.g., COM3"],
164-
"axis": ["Shutter Axis", "Input", "string", None, "e.g., A, B, C"],
163+
"com_port": ["COM Port", "Input", "string", None, "e.g., COM3"],
164+
"axis": ["Shutter Axis", "Input", "string", None, "e.g., 2, 3, 4"],
165165
"min": ["Minimum Voltage", "Spinbox", "float", None, "Example: 0"],
166166
"max": ["Maximum Voltage", "Spinbox", "float", None, "Example: 5"],
167167
"frame_config": {"ref": "hardware"},
@@ -572,12 +572,13 @@
572572
"n_modes": ["Number of Modes", "Input", "int", None, "Example: 32", 32],
573573
}
574574

575-
laser_device_types = {"Analog Device": ("NI", "ni"), "Virtual Device": ("Synthetic", "synthetic")}
575+
laser_device_types = {"Analog Device": ("NI", "ni"), "ASI Laser": ("ASI", "asi"), "Virtual Device": ("Synthetic", "synthetic")}
576576

577577
laser_hardware_widgets = {
578578
"wavelength": ["Wavelength", "Input", "int", None, "Example: 488", 488],
579579
"onoff": ["On/Off Setting", "Label", None, None, None],
580580
"onoff/hardware/type": ["Type", "Combobox", "string", laser_device_types, None],
581+
"onoff/hardware/axis": ["Digital Axis", "Input", "string", None, "Example: 2"],
581582
"onoff/hardware/channel": [
582583
"DAQ Channel",
583584
"Input",
@@ -601,6 +602,7 @@
601602
],
602603
"power": ["Power Setting", "Label", None, None, None],
603604
"power/hardware/type": ["Type", "Combobox", "string", laser_device_types, None],
605+
"power/hardware/axis": ["Analog Axis", "Input", "string", None, "Example: B"],
604606
"power/hardware/channel": [
605607
"DAQ Channel",
606608
"Input",

0 commit comments

Comments
 (0)