docs(ptychography): start the feedback loop from the web interface
CI for csaxs_bec / test (push) Successful in 3m17s
CI for csaxs_bec / test (push) Successful in 3m17s
Replace the ssh start steps for OMNY and flOMNI, and for LamNI with a note to use ssh until its web interface is installed. Fix the flOMNI host and use the current ptycho_*.yaml config names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M8zoDxdMqsaLNF76wtH1T6
This commit is contained in:
1 parent
c0e16da6a5
commit
eb8bc976c6
3 files changed
+15
-13
No files matched your search
@@ -125,9 +125,9 @@ This part of the manual is intended for beamline staff and expert users
|
|||||||
|
|
||||||
The nano-positioning is controlled by a feedback loop running on a real-time linux based computer. With all related hardware connected, this loop has to be started manually.
|
The nano-positioning is controlled by a feedback loop running on a real-time linux based computer. With all related hardware connected, this loop has to be started manually.
|
||||||
|
|
||||||
1. Login to the computer by `ssh control@mpc2680`. The password is written on the physical machine.
|
1. Open the web interface `http://mpc2844` in a browser and log in with the password of the user `control`. The password is written on the physical machine.
|
||||||
1. `cd OMNY/flOMNI/`
|
1. On the tab **System status**, click **▶ Start** in the control loop card. If a loop is already running, the button shows **↻ Restart** instead.
|
||||||
1. `./startflOMNI`
|
1. Check that the page shows the loop as running. "loop NOT stepping" means that the loop did not start correctly, for example because the VME crate is off. The reason is shown in the console at the bottom of the tab.
|
||||||
|
|
||||||
Once the loop has started, it is possible to start bec with the flOMNI configuration file.
|
Once the loop has started, it is possible to start bec with the flOMNI configuration file.
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ The flOMNI scripts can be loaded manually by
|
|||||||
`flomni = Flomni(bec)`
|
`flomni = Flomni(bec)`
|
||||||
|
|
||||||
Loading the flOMNI configuration (this command will load the OMNY configuration only - isolated from the beamline)
|
Loading the flOMNI configuration (this command will load the OMNY configuration only - isolated from the beamline)
|
||||||
`bec.config.update_session_with_file("/bec/csaxs_bec/csaxs_bec/device_configs/flomni_config.yaml")`
|
`bec.config.update_session_with_file("/bec/csaxs_bec/csaxs_bec/device_configs/ptycho_flomni.yaml")`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -516,13 +516,15 @@ Print all global variables `bec.global_vars()`
|
|||||||
|
|
||||||
This part of the manual describes the software structure in more detail.
|
This part of the manual describes the software structure in more detail.
|
||||||
|
|
||||||
### start the realtime feedback loop and BEC with OMNY
|
### start the realtime feedback loop and BEC with LamNI
|
||||||
|
|
||||||
The nano-positioning is controlled by a feedback loop running on a real-time linux based computer. With all related hardware connected, this loop has to be started manually.
|
The nano-positioning is controlled by a feedback loop running on a real-time linux based computer. With all related hardware connected, this loop has to be started manually.
|
||||||
|
|
||||||
1. Login to the computer by `ssh control@mpc2680`. The password is written on the physical machine.
|
1. Open the web interface `http://mpc2680` in a browser and log in with the password of the user `control`. The password is written on the physical machine.
|
||||||
2. `cd OMNY/lamni/`
|
2. On the tab **System status**, click **▶ Start** in the control loop card. If a loop is already running, the button shows **↻ Restart** instead.
|
||||||
3. `./startLAMNI`
|
3. Check that the page shows the loop as running. "loop NOT stepping" means that the loop did not start correctly, for example because the VME crate is off. The reason is shown in the console at the bottom of the tab.
|
||||||
|
|
||||||
|
The web interface on LamNI is planned for mid November 2026. Until it is installed, start the loop by `ssh control@mpc2680`, then `cd OMNY/lamni/` and `./startLAMNI`.
|
||||||
|
|
||||||
Once the loop has started, it is possible to start bec with the LamNI configuration file.
|
Once the loop has started, it is possible to start bec with the LamNI configuration file.
|
||||||
|
|
||||||
@@ -534,7 +536,7 @@ The scripts can alternatively manually be loaded by
|
|||||||
`lamni = LamNI(bec)`
|
`lamni = LamNI(bec)`
|
||||||
|
|
||||||
Loading the LamNI configuration (this command will load the LamNI configuration only - isolated from the beamline)
|
Loading the LamNI configuration (this command will load the LamNI configuration only - isolated from the beamline)
|
||||||
`bec.config.update_session_with_file("/bec/csaxs_bec/csaxs_bec/device_configs/lamni_config.yaml")`
|
`bec.config.update_session_with_file("/bec/csaxs_bec/csaxs_bec/device_configs/ptycho_lamni.yaml")`
|
||||||
|
|
||||||
If the realtime system is restarted, BEC will lose communication. To restart:
|
If the realtime system is restarted, BEC will lose communication. To restart:
|
||||||
`lamni.rt_off()` … then wait a 10 seconds
|
`lamni.rt_off()` … then wait a 10 seconds
|
||||||
|
|||||||
@@ -233,14 +233,14 @@ This part of the manual describes the software structure in more detail.
|
|||||||
|
|
||||||
The nano-positioning is controlled by a feedback loop running on a real-time linux based computer. With all related hardware connected, this loop has to be started manually.
|
The nano-positioning is controlled by a feedback loop running on a real-time linux based computer. With all related hardware connected, this loop has to be started manually.
|
||||||
|
|
||||||
1. Login to the computer by `ssh control@mpc3217`. The password is written on the physical machine.
|
1. Open the web interface `http://mpc3217` in a browser and log in with the password of the user `control`. The password is written on the physical machine.
|
||||||
1. `cd OMNY/OMNY/`
|
1. On the tab **System status**, click **▶ Start** in the control loop card. If a loop is already running, the button shows **↻ Restart** instead.
|
||||||
1. `./startOMNY`
|
1. Check that the page shows the loop as running. "loop NOT stepping" means that the loop did not start correctly, for example because the VME crate is off. The reason is shown in the console at the bottom of the tab.
|
||||||
|
|
||||||
Once the loop has started, it is possible to start bec with the OMNY configuration file.
|
Once the loop has started, it is possible to start bec with the OMNY configuration file.
|
||||||
|
|
||||||
Loading the OMNY configuration (this command will load the OMNY configuration only - isolated from the beamline)
|
Loading the OMNY configuration (this command will load the OMNY configuration only - isolated from the beamline)
|
||||||
`bec.config.update_session_with_file("/bec/csaxs_bec/csaxs_bec/device_configs/flomni_config.yaml")`
|
`bec.config.update_session_with_file("/bec/csaxs_bec/csaxs_bec/device_configs/ptycho_omny.yaml")`
|
||||||
|
|
||||||
Loading the OMNY scripts
|
Loading the OMNY scripts
|
||||||
`from csaxs_bec.bec_ipython_client.plugins.omny import OMNY`
|
`from csaxs_bec.bec_ipython_client.plugins.omny import OMNY`
|
||||||
|
|||||||
Reference in new issue
Block a user