diff --git a/X_X11MA.json b/X_X11MA.json new file mode 100644 index 0000000..811baa4 --- /dev/null +++ b/X_X11MA.json @@ -0,0 +1,163 @@ +{ + "menu-title": { + "text": "- SIM WORKBENCH -" + }, + "menu": [ + { + "type": "title", + "text": "- SIM WORKBENCH -" + }, + { + "type": "cmd", + "text": "Beamline Synoptic Panel", + "command": "caqtdm -noMsg -attach -macro \"BML=X11MA,PGM=X11MA,P=X11MA-OP2-\" X_X11MA_SPX11.ui" + }, + { + "type": "caqtdm", + "text": "Operation Info Panel", + "panel": "SLS_OP_Info.ui", + "macros": "BL=X11MA", + "param": "-noMsg -attach" + }, + { + "type": "menu", + "text": "- Desktops -", + "file": "X_X11MA_desktops.json" + }, + { + "type": "separator" + }, + { + "type": "menu", + "text": "- Start Default Applications -", + "file": "X_X11MA_Applications.json" + }, + { + "type": "menu", + "text": "- Tools -", + "file": "X_X11MA_Tools.json" + }, + { + "type": "separator" + }, + { + "type": "menu", + "text": "- KEITHLEY -", + "file": "X_X11MA_PC-KEITHLEY.json" + }, + { + "type": "cmd", + "text": "analog signals", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-ES1\" X_X11MA_ES1_acomp.ui" + }, + { + "type": "separator" + }, + { + "type": "menu", + "text": "- Machine -", + "file": "X_X11MA_Machine.json" + }, + { + "type": "menu", + "text": "- Undulator -", + "file": "X_X11MA_Undulator.json" + }, + { + "type": "menu", + "text": "- FrontEnd -", + "file": "X_X11MA_FE.json" + }, + { + "type": "menu", + "text": "- CollimatingMirrorUnit -", + "file": "X_X11MA_CMU.json" + }, + { + "type": "menu", + "text": "- ApertureUnit -", + "file": "X_X11MA_AU.json" + }, + { + "type": "menu", + "text": "- MONOCHROMATOR -", + "file": "X_X11MA_Monochromator.json" + }, + { + "type": "menu", + "text": "- FocusingMirrorUnit -", + "file": "X_X11MA_FMU.json" + }, + { + "type": "menu", + "text": "- ExitSlit -", + "file": "X_X11MA_EXSLIT.json" + }, + { + "type": "menu", + "text": "- OP2 optics -", + "file": "X_X11MA_OP2crate.json" + }, + { + "type": "separator" + }, + { + "type": "menu", + "text": "- Photon Source -", + "file": "X_X11MA_Phsrc.json" + }, + { + "type": "separator" + }, + { + "type": "menu", + "text": "- PEEM -", + "file": "X_X11MA_PEEM.json" + }, + { + "type": "separator" + }, + { + "type": "menu", + "text": "- XMCD -", + "file": "X_X11MA_Xmcd.json" + }, + { + "type": "separator" + }, + { + "type": "menu", + "text": "- resoxs -", + "file": "X_X11MA_ES3_resoxs.json" + }, + { + "type": "separator" + }, + { + "type": "menu", + "text": "- Ptycho -", + "file": "X_X11MA_ptycho.json" + }, + { + "type": "separator" + }, + { + "type": "menu", + "text": "- tr-tey -", + "file": "X_X11MA_ES4.json" + }, + { + "type": "separator" + }, + { + "type": "title", + "text": "Alarm Handler", + "style": "background-color: #7300ff006b00;color: black;" + }, + { + "type": "cmd", + "text": "X11MA Alarms", + "command": "alh -a X_X11MA-alarm.log -o X_X11MA-opmod.log $ {SLSBASE} /sls/config/alh/X_X11MA.alhInclude" + } + ] +} diff --git a/X_X11MA_AU.json b/X_X11MA_AU.json new file mode 100644 index 0000000..e02048d --- /dev/null +++ b/X_X11MA_AU.json @@ -0,0 +1,18 @@ +{ + "menu": [ + { + "type": "title", + "text": "Aperture Unit" + }, + { + "type": "menu", + "text": "Control Panel", + "file": "X_X11MA_AU_motor_gui.json" + }, + { + "type": "cmd", + "text": "BP1 motors", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-OP2-BP1:,M1=TRY,M2=TRZ\" topMotors2.ui" + } + ] +} \ No newline at end of file diff --git a/X_X11MA_AU_motor_gui.json b/X_X11MA_AU_motor_gui.json new file mode 100644 index 0000000..f12c3bc --- /dev/null +++ b/X_X11MA_AU_motor_gui.json @@ -0,0 +1,23 @@ +{ + "menu": [ + { + "type": "title", + "text": "AU (+BP) Motor Control" + }, + { + "type": "cmd", + "text": "AU motors", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-OP2-,M1=AU:TRY1,M2=AU:TRY4,M3=AU:TRZ1,M4=AU:TRZ4,M5=BP1:TRY,M6=BP1:TRZ\" topMotors6.ui" + }, + { + "type": "cmd", + "text": "Horizontal Aperture Control", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-OP2-,SLIT=AH,mXp=AU:TRZ4,mXn=AU:TRZ1\" X_X11MA_2slit.ui" + }, + { + "type": "cmd", + "text": "Vertical Aperture Control", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-OP2-,SLIT=AV,mXp=AU:TRY1,mXn=AU:TRY4\" X_X11MA_2slit.ui" + } + ] +} \ No newline at end of file diff --git a/X_X11MA_Applications.json b/X_X11MA_Applications.json new file mode 100644 index 0000000..0eae357 --- /dev/null +++ b/X_X11MA_Applications.json @@ -0,0 +1,23 @@ +{ + "menu": [ + { + "type": "title", + "text": "- Start Default Applications -" + }, + { + "type": "cmd", + "text": "Start screen at PEEM", + "command": "X_X11MA_PEEMscreen1.sh" + }, + { + "type": "cmd", + "text": "Start screen1 at beamline", + "command": "X_X11MA_beamlinescreen1.sh" + }, + { + "type": "cmd", + "text": "Start screen2 at beamline", + "command": "X_X11MA_beamlinescreen2.sh" + } + ] +} \ No newline at end of file diff --git a/X_X11MA_CMU.json b/X_X11MA_CMU.json new file mode 100644 index 0000000..1732777 --- /dev/null +++ b/X_X11MA_CMU.json @@ -0,0 +1,23 @@ +{ + "menu": [ + { + "type": "title", + "text": "Collimating Mirror Unit" + }, + { + "type": "cmd", + "text": "CMU motor panels", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-OP2-CM:,M1=TRZ,M2=ROY,M3=ROZ,M4=ROX,M5=TRY,M6=TRB\" topMotors6.ui" + }, + { + "type": "cmd", + "text": "CMU control panel", + "command": "caqtdm -noMsg -attach $SLSBASE/sls/config/panel/X_X11MA_cmu.prc" + }, + { + "type": "cmd", + "text": "homeSw initialization", + "command": "caqtdm -noMsg -attach $SLSBASE/sls/config/panel/X_X11MA_CMU-homeSw.prc" + } + ] +} \ No newline at end of file diff --git a/X_X11MA_EXSLIT.json b/X_X11MA_EXSLIT.json new file mode 100644 index 0000000..a1ad976 --- /dev/null +++ b/X_X11MA_EXSLIT.json @@ -0,0 +1,23 @@ +{ + "menu": [ + { + "type": "title", + "text": "ExitSlit Unit" + }, + { + "type": "cmd", + "text": "width motor control", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-OP2-SL:,M=TRY\" motorx.ui" + }, + { + "type": "cmd", + "text": "translation motor control", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-OP2-SL:,M=TRX\" motorx.ui" + }, + { + "type": "cmd", + "text": "encoder", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-OP2-EXS:,E=E\" encoder_cal.ui" + } + ] +} \ No newline at end of file diff --git a/X_X11MA_FMU.json b/X_X11MA_FMU.json new file mode 100644 index 0000000..d4966ce --- /dev/null +++ b/X_X11MA_FMU.json @@ -0,0 +1,13 @@ +{ + "menu": [ + { + "type": "title", + "text": "FocusingMirrorUnit" + }, + { + "type": "cmd", + "text": "FMU motors", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-OP2-FM:,M1=TRY1,M2=TRY4\" topMotors2.ui" + } + ] +} \ No newline at end of file diff --git a/X_X11MA_Machine.json b/X_X11MA_Machine.json new file mode 100644 index 0000000..377f965 --- /dev/null +++ b/X_X11MA_Machine.json @@ -0,0 +1,28 @@ +{ + "menu": [ + { + "type": "title", + "text": "Machine Status" + }, + { + "type": "cmd", + "text": "BPM 8LB stripchart", + "command": "jStripTool /work/sls/config/striptool/X_X11MA_ARIDI-BPM-08LB-RMS-AVG.strip" + }, + { + "type": "cmd", + "text": "BPM 9LB stripchart", + "command": "jStripTool /work/sls/config/striptool/X_X11MA_ARIDI-BPM-09LB-RMS-AVG.strip" + }, + { + "type": "cmd", + "text": "BPM 10MB stripchart", + "command": "jStripTool /work/sls/config/striptool/X_X11MA_ARIDI-BPM-10MB-RMS-AVG.strip" + }, + { + "type": "cmd", + "text": "BPM 11MB stripchart", + "command": "jStripTool /work/sls/config/striptool/X_X11MA_ARIDI-BPM-11MB-RMS-AVG.strip" + } + ] +} \ No newline at end of file diff --git a/X_X11MA_Monochromator.json b/X_X11MA_Monochromator.json new file mode 100644 index 0000000..f8d607c --- /dev/null +++ b/X_X11MA_Monochromator.json @@ -0,0 +1,18 @@ +{ + "menu": [ + { + "type": "title", + "text": "Monochromator" + }, + { + "type": "cmd", + "text": "Control Panel", + "command": "caqtdm -noMsg -attach -dg +750+0 -macro \"P=X11MA\" X_MO_PGM_expert.ui" + }, + { + "type": "cmd", + "text": "PGM motors", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA:,M1=m1,M2=m2,M3=m3,M4=m4\" topMotors4.ui" + } + ] +} \ No newline at end of file diff --git a/X_X11MA_OP2_pressures.json b/X_X11MA_OP2_pressures.json index b4997eb..8ce96af 100644 --- a/X_X11MA_OP2_pressures.json +++ b/X_X11MA_OP2_pressures.json @@ -12,7 +12,7 @@ { "type": "cmd", "text": "StripChart", - "command": "StripTool /work/sls/config/striptool/X_X11MA_pressure.strip" + "command": "jStripTool /work/sls/config/striptool/X_X11MA_pressure.strip" } ] -} \ No newline at end of file +} diff --git a/X_X11MA_OP2_temperatures.json b/X_X11MA_OP2_temperatures.json index ff2be36..db2c202 100644 --- a/X_X11MA_OP2_temperatures.json +++ b/X_X11MA_OP2_temperatures.json @@ -12,7 +12,7 @@ { "type": "cmd", "text": "StripChart", - "command": "StripTool /work/sls/config/striptool/X_X11MA_temperature.strip" + "command": "jStripTool /work/sls/config/striptool/X_X11MA_temperature.strip" } ] -} \ No newline at end of file +} diff --git a/X_X11MA_PEEM.json b/X_X11MA_PEEM.json new file mode 100644 index 0000000..06824a1 --- /dev/null +++ b/X_X11MA_PEEM.json @@ -0,0 +1,104 @@ +{ + "menu": [ + { + "type": "title", + "text": "----- PEEM Setup -----" + }, + { + "type": "cmd", + "text": "Girder Mover PEEM", + "command": "caqtdm -noMsg -attach -macro \"NAME=X11MA-HG,NAME1=X11MA-ES1\" G_HEXGIR_5Dbasic.ui" + }, + { + "type": "cmd", + "text": "Status", + "command": "caqtdm -noMsg -attach -macro BML=X11MA,D=DUMMY X_X11MA_SOFT-status.ui" + }, + { + "type": "caqtdm", + "text": "Switchbox", + "panel": "X_X11MA_PC_LEEM_switchbox.ui", + "macros": "P=X11MA-PC-SW", + "param": "-noMsg -attach" + }, + { + "type": "caqtdm", + "text": "PID control", + "panel": "X_X11MA_PC_LEEM_pid.ui", + "macros": "P=X11MA-PC-LEEM", + "param": "-noMsg -attach" + }, + { + "type": "caqtdm", + "text": "Gude switch", + "panel": "S_GUDE_4SOCKETS.ui", + "macros": "DEVICE=PEEM-GUDE,HOST=X11MA-CPPS-ES1,SOCKETS=4,ALIAS=NOALIAS,CH1_HOST=X11MA-CPPS-ES1-CH1,CH2_HOST=X11MA-CPPS-ES1-CH2,CH3_HOST=X11MA-CPPS-ES1-CH3,CH4_HOST=X11MA-CPPS-ES1-CH4", + "param": "-noMsg -attach" + }, + { + "type": "cmd", + "text": "Basler acA1280-60gc", + "command": "start_CAM2" + }, + { + "type": "cmd", + "text": "Image View acA1280-60gc", + "command": "QtAD --simple --prefix=X11MA-ES1-CAM2:image1:" + }, + { + "type": "separator" + }, + { + "type": "title", + "text": "Cooling" + }, + { + "type": "caqtdm", + "text": "He Flow", + "panel": "X_X09LA_PC_BRONKHORST_bronkhorstMain.ui", + "macros": "IOC=X11MA-PC-BRONKHORST,NAME=PEEM", + "param": "-noMsg -attach" + }, + { + "type": "caqtdm", + "text": "Needle Valve", + "panel": "X_X11MA_ES1_ao.ui", + "param": "-noMsg -attach" + }, + { + "type": "separator" + }, + { + "type": "title", + "text": "Eiger" + }, + { + "type": "caqtdm", + "text": "Eiger detector", + "panel": "slsDetector5.ui", + "macros": "P=X11MA-ES1-SD1:,R=cam1:", + "param": "-noMsg -attach" + + }, + { + "type": "cmd", + "text": "Image viewer", + "command": "/sls/X11MA/data/X11MA/SW/ADViewer/run X11MA-ES1-SD1:image1:" + }, + { + "type": "cmd", + "text": "Start", + "command": "X_X11MA_EigerStart.sh" + }, + { + "type": "cmd", + "text": "Stop", + "command": "X_X11MA_EigerStop.sh" + }, + { + "type": "cmd", + "text": "Restart", + "command": "X_X11MA_EigerRestart.sh" + } + ] +} diff --git a/X_X11MA_Phsrc.json b/X_X11MA_Phsrc.json new file mode 100644 index 0000000..814f723 --- /dev/null +++ b/X_X11MA_Phsrc.json @@ -0,0 +1,46 @@ +{ + "menu": [ + { + "type": "title", + "text": "----- SCANS -----" + }, + { + "type": "cmd", + "text": "X11MA-ES1 scan catcher", + "command": "catch_sscan70 X11MA-ES1-" + }, + { + "type": "title", + "text": "-------------------------" + }, + { + "type": "cmd", + "text": "Summary (ID, mono, FE...)", + "command": "caqtdm -noMsg -attach $SLSBASE/sls/config/panel/X_X11MA_overview.prc" + }, + { + "type": "cmd", + "text": "ES1 scan1", + "command": "caqtdm -noMsg -attach -dg +791+0 -macro \"P=X11MA-ES1-,N=1,S=scan1\" G_SYNAPPS_scan_more.ui" + }, + { + "type": "cmd", + "text": "ES1 scan2", + "command": "caqtdm -noMsg -attach -dg +791+433 -macro \"P=X11MA-ES1-,N=2,S=scan2\" G_SYNAPPS_scan_more.ui" + }, + { + "type": "cmd", + "text": "scanmonitor ES1", + "command": "X_X11MA_scanmonitor.pl" + }, + { + "type": "title", + "text": "----- snapshots -----" + }, + { + "type": "cmd", + "text": "save/restore ES1 scan", + "command": "start_Snapshot" + } + ] +} diff --git a/X_X11MA_Tools.json b/X_X11MA_Tools.json new file mode 100644 index 0000000..b793ee4 --- /dev/null +++ b/X_X11MA_Tools.json @@ -0,0 +1,23 @@ +{ + "menu": [ + { + "type": "title", + "text": "Misc Tools" + }, + { + "type": "cmd", + "text": "Generic StripChart", + "command": "jStripTool" + }, + { + "type": "cmd", + "text": "Juraj's Scan Viewer", + "command": "mdaview.py -d /sls/X11MA/data/X11MA/scans" + }, + { + "type": "cmd", + "text": "Xiao's much better one", + "command": "python2.5 /work/sls/bin/X_X03MA_ES1/MDA/mdaviewer_qwt.py" + } + ] +} diff --git a/X_X11MA_Undulator.json b/X_X11MA_Undulator.json new file mode 100644 index 0000000..b4e00a5 --- /dev/null +++ b/X_X11MA_Undulator.json @@ -0,0 +1,69 @@ +{ + "menu": [ + { + "type": "title", + "text": "- Undulator -" + }, + { + "type": "cmd", + "text": "ID1 Gap", + "command": "caqtdm -noMsg -macro DEVICE=X11MA-ID1 -attach X_ID_GapShift.ui" + }, + { + "type": "cmd", + "text": "ID2 Gap", + "command": "caqtdm -noMsg -macro DEVICE=X11MA-ID2 -attach X_ID_GapShift.ui" + }, + { + "type": "cmd", + "text": "ID1 Energy", + "command": "caqtdm -noMsg -attach -macro DEVICE=X11MA-ID1 X_ID_EnergyPolar-more.ui" + }, + { + "type": "cmd", + "text": "ID2 Energy", + "command": "caqtdm -noMsg -attach -macro DEVICE=X11MA-ID2 X_ID_EnergyPolar-more.ui" + }, + { + "type": "cmd", + "text": "Bergoz BPMs Striptool", + "command": "jStripTool ${SLSBASE}/sls/config/striptool/X_X11MA-ID-FBPM.strip" + }, + { + "type": "cmd", + "text": "Bergoz BPMs panel", + "command": "caqtdm -noMsg -attach X_ID_BPM_X11MA.ui" + }, + { + "type": "cmd", + "text": "Bergoz BPMs graph", + "command": "X_ID_BPM.sh X11MA" + }, + { + "type": "separator" + }, + { + "type": "cmd", + "text": "Correctors", + "command": "caqtdm -noMsg -attach X_ID_PS_X11MA-Corr.ui" + }, + { + "type": "cmd", + "text": "Chicane PS", + "command": "caqtdm -noMsg -attach X_ID_PS_X11MA-Chicane.ui" + }, + { + "type": "cmd", + "text": "Local orbit bumps", + "command": "caqtdm -noMsg -attach X_ID_PS_X11MA-Bumps.ui" + }, + { + "type": "separator" + }, + { + "type": "cmd", + "text": "Beam stabilization", + "command": "caqtdm -noMsg -attach -macro P=X11MA-PC-SOFT X_X11MA_SOFT_aridi.ui" + } + ] +} diff --git a/X_X11MA_Xmcd.json b/X_X11MA_Xmcd.json new file mode 100644 index 0000000..ef9869f --- /dev/null +++ b/X_X11MA_Xmcd.json @@ -0,0 +1,68 @@ +{ + "menu": [ + { + "type": "title", + "text": "----- XMCD -----" + }, + { + "type": "cmd", + "text": "XMCD panel", + "command": "caqtdm -noMsg -attach -macro \"BML=X11MA\" X_X11MA_XMCD.ui" + }, + { + "type": "cmd", + "text": "ID & Mono saveData", + "command": "caqtdm -noMsg -attach -dg +2200+600 -macro \"P=X11MA-ES1-\" G_SYNAPPS_scan_saveDataplus.ui" + }, + { + "type": "title", + "text": "Temp. Control" + }, + { + "type": "caqtdm", + "text": "Lakeshore 340", + "panel": "X_X11MA_ES3_lakeshore340.ui", + "macros": "NAME=X11MA-ES3-LSCI,TITLE=X11MA_ES3__Lakeshore340", + "param": "-noMsg -attach" + }, + { + "type": "separator" + }, + { + "type": "title", + "text": "Camera" + }, + { + "type": "caqtdm", + "text": "URL Webcam driver", + "panel": "URLDriver.ui", + "macros": "P=X11MA-PC-WEBCAM:,R=cam1:", + "param": "-noMsg -attach" + }, + { + "type": "cmd", + "text": "motor TBT", + "command": "caqtdm -noMsg -attach -macro \"P=X11MA-ES1-TBT:,M=TRY\" motorx_more.ui" + }, + { + "type": "separator" + }, + { + "type": "title", + "text": "On-The-Fly XAS/XMCD" + }, + { + "type": "cmd", + "text": "OTF new", + "command": "X_X11MA_otf.sh" + }, + { + "type": "separator" + }, + { + "type": "cmd", + "text": "Region Config", + "command": "caqtdm -noMsg -attach -macro \"P=X11PHS\" X_X11MA_ede.ui" + } + ] +} diff --git a/X_X11MA_desktops.json b/X_X11MA_desktops.json new file mode 100644 index 0000000..3fa0b3c --- /dev/null +++ b/X_X11MA_desktops.json @@ -0,0 +1,28 @@ +{ + "menu": [ + { + "type": "title", + "text": "Desktops" + }, + { + "type": "cmd", + "text": "Expert desktop 1 (beamline qtdm's)", + "command": "X_X11MA_desktop1.sh" + }, + { + "type": "cmd", + "text": "Expert desktop 2 (undulator, status)", + "command": "X_X11MA_desktop2.sh" + }, + { + "type": "cmd", + "text": "Expert desktop 3 (StripTool's)", + "command": "X_X11MA_desktop3.sh" + }, + { + "type": "cmd", + "text": "Resoxs desktop", + "command": "X_X11MA_desktop_resoxs.sh" + } + ] +} \ No newline at end of file diff --git a/X_X11MA_ptycho.json b/X_X11MA_ptycho.json new file mode 100644 index 0000000..f621032 --- /dev/null +++ b/X_X11MA_ptycho.json @@ -0,0 +1,49 @@ +{ + "menu": [ + { + "type": "title", + "text": "----- Ptycho Setup -----" + }, + { + "type": "cmd", + "text": "Motor 5", + "command": "caqtdm -noMsg -attach -macro P=X11MA-ES5:,M=MOT05 motorx_mp.ui" + }, + { + "type": "cmd", + "text": "Motor 6", + "command": "caqtdm -noMsg -attach -macro P=X11MA-ES5:,M=MOT06 motorx_mp.ui" + }, + { + "type": "cmd", + "text": "Motor 7", + "command": "caqtdm -noMsg -attach -macro P=X11MA-ES5:,M=MOT07 motorx_mp.ui" + }, + { + "type": "cmd", + "text": "Motor 10", + "command": "caqtdm -noMsg -attach -macro P=X11MA-ES5:,M=MOT10 motorx_mp.ui" + }, + { + "type": "cmd", + "text": "Motor 11", + "command": "caqtdm -noMsg -attach -macro P=X11MA-ES5:,M=MOT11 motorx_mp.ui" + }, + { + "type": "cmd", + "text": "Motor 12", + "command": "caqtdm -noMsg -attach -macro P=X11MA-ES5:,M=MOT12 motorx_mp.ui" + }, + { + "type": "cmd", + "text": "Girder Mover", + "command": "caqtdm -x -attach -noMsg -macro \"NAME=X11MA-ES5-HG,NAME1=X11MA-ES5\" G_HEXGIR_5Dbasic.ui" + }, + { + "type": "cmd", + "text": "ZMI Debug", + "command": "caqtdm -x -attach -noMsg -macro \"P=X11MA-ES5,C0=:ZMIA0,C1=:ZMIA1,C2=:ZMIA2,C3=:ZMIA3\" -x G_DRV_ZMIAsyn_Diagnostic.ui" + } + ] +} +