From 946fa60919f66cc95ce687b2407d62d9b1e4b989 Mon Sep 17 00:00:00 2001 From: steppke_a Date: Wed, 25 May 2022 11:42:40 +0000 Subject: [PATCH 1/2] Update control_howto.md --- control_howto.md | 192 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 192 insertions(+) diff --git a/control_howto.md b/control_howto.md index e69de29..6104f3c 100644 --- a/control_howto.md +++ b/control_howto.md @@ -0,0 +1,192 @@ +**HowTos** + +Panels + + +* Launcher: + * `launcher` +* Aramis synoptics + * From launcher + * `caqtdm …` +* Aramis synoptic medm (Optics group version, used to move mirrors) + * Aramis +* Cameras: + * `caqtdm -noMsg -stylefile sfop.qss camsf.ui` + * (also “Cameras” button in Aramis Synoptic) +* X-ray eye camera: + * `caqtdm -macro NAME=SARES30-CAMS999-XE /sf/controls/config/qt/Camera/CameraExpert.ui` +* EVRs + * EVR specific panel in “Cameras” +* Cristallina EVR overall panel (includes scope/digitizer): + * `caqtdm -macro EEVR=SARES30-LTIM01-EEVR0,EEVRCHAN1=0,EEVRCHAN2=0,IOC=SARES30-LTIM01-EVR0,SYS=SARES30-LTIM01,DEVICE=EVR0,CALC=SARES30-LTIM01-EVR0,C1=I,C2=X,C3=Y,C4=S,C5=T,C6=U,C7=V,C8=W,C9=Z,DUM=SARES30-LTIM01-EVR0,SCP=SARES30-LSCP1-FNS,FMC=SARES30-LSCP1-CRISTA1,TITLE=SARES30-CVME-CRISTA1,BS=SARES30-CVME-CRISTA1,FMC2=,SCP2=-FNS S_LAS_IFC_SYS_V2.ui &` +* Screen panel: visualizes “camera bread stream” + * Does not work from any caqtdm panel (/sf/op/bin/screen_panel) + * `screen panel (/sf/cristallina/bin/screen_panel)` +* PBPSs + * From launcher in Photonics expert mode, Operation photonics menu, PBPS (diamond) + * > bash -c 'caqtdm -noMsg -stylefile sfop.qss -macro P=SAROP31-PBPS149,FED=SAROP31-CVME-PBPS1,LNK=9,PDL=4,PDR=3,PDD=2,PDU=1 PBPS_exp.ui' +* PPRMs / PSCR + * Launcher in Photonics expert mode → Aramis screens + * From caqtdm Aramis synoptic panel (also from medm Aramis synoptic panel) +* PSSS059 (single shot spectrometer) + * Motor panel: > caqtdm -noMsg -stylefile sfop.qss -macro P1=SARFE10-PSSS055,P2=SARFE10-PSSS059 PSSS_ + * exp.ui (also button on Aramis synoptic)Setup panel (with energy, crystal and camera alignment features): > bash /sf/photo/src/apps/psss/bin/psss_panel (also launcher in Photonics expert mode) + * Setup panel dev: > bash /sf/photo/src/apps/psss_dev/bin/psss_panel + * Requires 100-200 uJ - so no less than 0.2 attenuation at OATT053 + * Alignment procedure + * Alignment + * Energy scan about requested energy + * Crystal height scan + * Look at readback values “Xtal bender y-trans” and put in sensible range in PSSS window +* OATA150: + * >caqtdm -attach -macro "P=SAROP31-OATA150,PH_ENERGY=SARUN:FELPHOTENE" OATT_exp.ui + +Change photon energy + + + +* Launcher from Cristallina, mode Operation, Operation/Procedures>Aramis Photon Energy (K) + +Beam synchronous DAQ with run_control + + + +* Start run control: + * > /sf/jungfrau/bin/run_control, then chose pgroup +* Acquire pedestal + * From “Expert” panel in run control +* Acquire data (single point scan) + * “Run” +* Acquire scans + * In “Scan” panel set motor positions + * Check “Run scan” + * “Run” +* Set bs and ca channels + * Load files in “Configure” panel +* Set Jungfraus + * In “Configure” panel check JF detectors + +Jungfrau 1.5M + + + +* Start high voltage after power has been given to the detector: + * Power on in “Configure” +* Power off by disconnecting power cable +* 1Hz image stream + * web browser with _sf-daq-cristallina:5016_ + +Jungfrau 8M + + + +* Start by toggling “lever button” for ~1sec → no high voltage yet +* Start high voltage after power has been given to the detector: + * Power on in “Configure” +* Stand by by toggling “lever button” for 1sec +* Power off by disconnecting power cable +* 1Hz image stream + * web browser with _sf-daq-cristallina:5017_ + +PBPS: + + + +* Panel: > caqtdm -stylefile sfop.qss -macro P=SAROP31-PBPS149,IOC=SAROP31-CVME-PBPS149 S_FrontEndDigitizer_User.ui +* > module load psi-python38/2020.11 +* > source activate /sf/photo/miniconda/ +* > jupyter-notebook /sf/photo/src/PhotonDiagControl/Beamline/PBPS149_esc_short.ipynb +* Must be run but new calibration values can’t be pushed to the process SAROP31-PBPS149_proc running on the camera server sf-daqsync-03.psi.ch:8881 + +Diode + +PIPS Diode model … + +Connected to ifc1210 digitizer in rack 0.Z719.75 (“electronics”) + +uses (too) fast bias-tee and + +Signal attenuated with 25 dB 3GHz attenuator + + + +* Signal is on channel 0 of the scope on the Cristallina IFC1210 +* Broadcasted to bread: waveform, signal-background, first computation output + +pshell workbench: + + + +* > pshell_cr + * Can be used for scans, not clear how it works + * Jungfrau not accessible +* Scan: + * Set positioners + * Set detectors: screen_panel ROI, bread channel + * See /sf/cristallina/config_pshell_cr/script/example.scan + +Strip charts (pshell based): + + + +* > strip_chart, then load wished strip chart from /sf/cristallina/config/strip_chart + * /sf/cristallina/config/strip_chart is read-only for gac-cristall + +Correlation panel (pshell based): + + + +* > correlation panel + +Bsread stream: + + + +* > bs receive … +* > bs avail (...) +* > bs config (?) + +Channel access / epics: + + + +* Make CA channels writable from sf-esc network: + * [https://git.psi.ch/controls_it/gfa_ansible_ca-gateways/-/blob/master/files/saresc-cagw.pvlist](https://git.psi.ch/controls_it/gfa_ansible_ca-gateways/-/blob/master/files/saresc-cagw.pvlist) + +data-ui.psi.ch: + + + +* … + +Mobile webcam: + + + +* IP address in web browser: 129.129.221.71 + +NoMachine remote connections + + + +* Define access list: + * [https://rama.psi.ch](https://rama.psi.ch) +* Instructions to connect: + * [https://www.psi.ch/en/photon-science-data-services/remote-interactive-access](https://www.psi.ch/en/photon-science-data-services/remote-interactive-access) + +Set pointing: + +A useful command is to switch between which slit is open or closed + + +###### caputq SARFE10-OAPU044:MOTOR_W 0.25; caputq SARFE10-OAPU044:MOTOR_H 0.25; caputq SARFE10-OAPU092:MOTOR_W 3.00; caputq SARFE10-OAPU092:MOTOR_H 3.00; + +(to open the back slit and close the upstream one) + + +###### caputq SARFE10-OAPU044:MOTOR_W 3.00; caputq SARFE10-OAPU044:MOTOR_H 3.00; caputq SARFE10-OAPU092:MOTOR_W 0.25; caputq SARFE10-OAPU092:MOTOR_H 0.25; + +(to do the opposite, open the front and close down the downstream slit) + +To view the beam after both slits, use SAROP21-PPRM113 camera (from the screen_panel). + From ad1adea4e297adf3a0d3c593badff48e547ea3db Mon Sep 17 00:00:00 2001 From: steppke_a Date: Mon, 20 Jun 2022 09:00:41 +0000 Subject: [PATCH 2/2] Adding git installation instructions --- computing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/computing.md b/computing.md index ff6e72e..77e3003 100644 --- a/computing.md +++ b/computing.md @@ -57,6 +57,8 @@ A backup environment is currently located at: ```` if all else fails. +## Getting git +The `git` installed on the cristallina consoles is from 2015, so we can use conda to provide us with an up-to-date version. E.g. with `miniconda` activated simply install using `conda install git`. # sf_datafiles directly from github - pip: