-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finish adding missing service docs #279
base: develop
Are you sure you want to change the base?
Changes from all commits
9d3ecdb
367f556
589c0a3
36314b8
2a10859
4f24886
a500fcf
3cf29ea
43e9d40
e290fa1
d4fa992
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,80 @@ | ||
Newport Motor Controller | ||
======================== | ||
|
||
This service controls a Newport XPS motor controller which controls a set of motors identified by their motor IDs. These motor | ||
names are defined in the configuration file and have to follow the naming given to them through the Newport control interface. | ||
|
||
Each motor can define an arbitrary number of named positions. These named positions can can also call each other in a chain. This | ||
is useful for being able to save motor positions associated with different experiment modes. | ||
|
||
- Something about command tolerances (TODO) | ||
|
||
- Something about the concrete model used so far with catkit2, on HiCAT. (TODO) | ||
|
||
Configuration | ||
------------- | ||
|
||
.. code-block:: YAML | ||
|
||
newport_xps: | ||
service_type: newport_xps_q8 | ||
interface: newport_xps_q8 | ||
simulated_service_type: newport_xps_q8_sim | ||
requires_safety: false | ||
|
||
ip_address: xxx.xxx.xxx.xxx | ||
port: 0000 | ||
timeout: 20 | ||
update_interval: 1 | ||
atol: | ||
default: 0.001 | ||
lyot_theta: 0.01 | ||
|
||
# Any update to the values below might require an update in simulator.yml. | ||
# Any difference with the values in simulator.yml will cause a misalignment between your hardware and the simulator. | ||
motors: | ||
|
||
example_motor: | ||
nominal: in_beam | ||
|
||
in_beam: in_beam_mode2 | ||
on_axis: on_axis_mode2 | ||
out_of_beam: out_of_beam_mode2 | ||
lowfs_beam: lowfs_beam_mode2 | ||
|
||
in_beam_mode1: 7.951 | ||
on_axis_mode1: 7.871 | ||
out_of_beam_mode1: 5.9 | ||
lowfs_beam_mode1: 10 | ||
|
||
in_beam_mode2: 9.301 | ||
on_axis_mode2: in_beam_mode2 | ||
out_of_beam_mode2: 8 | ||
lowfs_beam_mode2: in_beam_mode2 | ||
|
||
Lyot_X: | ||
nominal: 8.27 | ||
Lyot_Y: | ||
nominal: in_beam | ||
in_beam: 2.3 | ||
out_of_beam: 20 | ||
Lyot_Z: | ||
nominal: 9.7 | ||
Lyot_theta: | ||
nominal: 56 | ||
camera_position: | ||
nominal: 5.42 | ||
|
||
Properties | ||
---------- | ||
None. | ||
|
||
Commands | ||
-------- | ||
None. | ||
|
||
Datastreams | ||
----------- | ||
``{motor_name}_command``: A movement command for the motor identified with motor_name. The motor names are defined by the config file. | ||
|
||
``{motor_name}_current_position``: The current position of the motor identified with motor_name. The motor names are defined by the config file. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,34 @@ | ||
Safety Manual Check | ||
=================== | ||
|
||
A service that allows the user to manually check the safety of the testbed through the :ref:`safety_monitor` service. | ||
|
||
This service has a property called ``value`` whose initial value is read from the configuration file, and it can be set to any value by the user. | ||
It is continuously submitted to the only datastream ``check``. | ||
|
||
By setting the value to something new, the safety monitor picks up on the new value on the datastream ``check`` and it should react accordingly. | ||
|
||
Configuration | ||
------------- | ||
|
||
.. code-block:: YAML | ||
|
||
safety_manual_check: | ||
service_type: safety_manual_check | ||
requires_safety: true | ||
|
||
dtype: int | ||
initial_value: 5 | ||
|
||
Properties | ||
---------- | ||
``value``: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh I also need to fill these in, whoops. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah I didn't do that because I didn't fully understood how this service works... Where does the |
||
|
||
|
||
Commands | ||
-------- | ||
|
||
None. | ||
|
||
Datastreams | ||
----------- | ||
``check``: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
Thorlabs Picomotor | ||
================== | ||
Thorlabs Power Meter | ||
==================== | ||
|
||
This services periodically checks the measured power of a Thorlabs power meter. | ||
|
||
Configuration | ||
------------- | ||
|
||
.. code-block:: YAML | ||
|
||
power_meter: | ||
service_type: thorlabs_pm | ||
simulated_service_type: thorlabs_pm_sim | ||
requires_safety: false | ||
|
||
serial_number: 111000222 | ||
interval: 0.5 | ||
|
||
Properties | ||
---------- | ||
None. | ||
|
||
Commands | ||
-------- | ||
None. | ||
|
||
Datastreams | ||
----------- | ||
``power``: The measured power in W. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@raphaelpclt could you add something to these two points here? I remember you working on the motor tolerances, and you have access to the concrete info about the model HiCAT uses.