Initial commit

This commit is contained in:
2022-06-28 11:36:54 +02:00
commit cb1f1413d8
195 changed files with 179443 additions and 0 deletions

2098
common/config/acc.qss Normal file

File diff suppressed because it is too large Load Diff

2701
common/config/acc.qss~ Normal file

File diff suppressed because it is too large Load Diff

52
common/config/style.json Normal file
View File

@@ -0,0 +1,52 @@
{
"menuFlags":{
"hasFile": 1,
"loadInitFile": 1,
"hasDaq": 1,
"hasH5" : 1,
"hasEpics" : 1
},
"MsgSeverity": {
"fatal": "#ee0011",
"error": "#990033",
"warn": "#cc6600",
"info": "#0040ff",
"debug": "#11aaee"
},
"stdlog": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/stdlog/"
},
"screenshot": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/screenshot/"
},
"StyleGuide":{
"widgetHeight": 25,
"extraGroupHeight": 30,
"fgAlarmInvalid": "#ffffff",
"fgAlarmMajor": "#ff0000",
"fgAlarmMinor": "#fbfb04",
"fgAlarmNoAlarm": "#00cd00",
"fgNormalText": "#000000",
"fgCurveHor": "#2a63e4",
"fgCurveVer": "#8b1a96",
"fgCurveLong": "#cd6100",
"bgTitleOperation": "#dadada",
"bgTitleExpert": "#646464",
"bgTitleSimulation":"#8b1a96",
"bgMain": "#ececec",
"bgReadbackAlarm": "#c8c8c8",
"bgReadback" : "#ffffe0",
"bgPVSetBeam": "#d4db9d",
"bgPVSet": "#a0a0a0",
"bgButtonWindow": "#b79d5c",
"bgGroupContainers":"#e1e1e1",
"bgErrorLogFile" : "#f0f0f8",
"machine_color": "#2e5894",
"machine_qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 gray , stop: 1 #ffffff)"
},
"Machine" : {
"color" : "gray",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 gray , stop: 1 #ffffff)"
}
}

45
common/config/style.json- Normal file
View File

@@ -0,0 +1,45 @@
{
"menuFlags":{
"hasFile": 1,
"loadInitFile": 1,
"hasDaq": 1,
"hasH5" : 1,
"hasEpics" : 1
},
"MsgSeverity": {
"fatal": "#ee0011",
"error": "#990033",
"warn": "#cc6600",
"info": "#0040ff",
"debug": "#11aaee"
},
"stdlog": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/stdlog/"
},
"screenshot": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/screenshot/"
},
"StyleGuide":{
"widgetHeight": 25,
"extraGroupHeight": 30,
"fgAlarmInvalid": "#ffffff",
"fgAlarmMajor": "#ff0000",
"fgAlarmMinor": "#fbfb04",
"fgAlarmNoAlarm": "#00cd00",
"fgNormalText": "#000000",
"fgCurveHor": "#2a63e4",
"fgCurveVer": "#8b1a96",
"fgCurveLong": "#cd6100",
"bgTitleOperation": "#dadada",
"bgTitleExpert": "#646464",
"bgTitleSimulation":"#8b1a96",
"bgMain": "#ececec",
"bgReadbackAlarm": "#c8c8c8",
"bgReadback" : "#ffffe0",
"bgPVSetBeam": "#d4db9d",
"bgPVSet": "#a0a0a0",
"bgButtonWindow": "#b79d5c",
"bgGroupContainers":"#e1e1e1",
"bgErrorLogFile" : "#f0f0f8"
}
}

45
common/config/style.json~ Normal file
View File

@@ -0,0 +1,45 @@
{
"menuFlags":{
"hasFile": 1,
"loadInitFile": 1,
"hasDaq": 1,
"hasH5" : 1,
"hasEpics" : 1
},
"MsgSeverity": {
"fatal": "#ee0011",
"error": "#990033",
"warn": "#cc6600",
"info": "#0040ff",
"debug": "#11aaee"
},
"stdlog": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/stdlog/"
},
"screenshot": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/screenshot/"
},
"StyleGuide":{
"widgetHeight": 25,
"extraGroupHeight": 30,
"fgAlarmInvalid": "#ffffff",
"fgAlarmMajor": "#ff0000",
"fgAlarmMinor": "#fbfb04",
"fgAlarmNoAlarm": "#00cd00",
"fgNormalText": "#000000",
"fgCurveHor": "#2a63e4",
"fgCurveVer": "#8b1a96",
"fgCurveLong": "#cd6100",
"bgTitleOperation": "#dadada",
"bgTitleExpert": "#646464",
"bgTitleSimulation":"#8b1a96",
"bgMain": "#ececec",
"bgReadbackAlarm": "#c8c8c8",
"bgReadback" : "#ffffe0",
"bgPVSetBeam": "#d4db9d",
"bgPVSet": "#a0a0a0",
"bgButtonWindow": "#b79d5c",
"bgGroupContainers":"#e1e1e1",
"bgErrorLogFile" : "#f0f0f8"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
common/images/EL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
common/images/EPICS.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
common/images/HDF_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
common/images/HDF_logoL.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
common/images/HDF_logoS.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
common/images/Thumbs.db Normal file

Binary file not shown.

BIN
common/images/aramis.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
common/images/athos.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
common/images/back.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
common/images/bar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

BIN
common/images/editswap.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

BIN
common/images/editzoom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
common/images/elog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
common/images/filenew.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
common/images/fileopen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
common/images/fileprint.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
common/images/filequit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
common/images/filesave.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
common/images/forbidden.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
common/images/forbidden.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
common/images/frame.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

BIN
common/images/hdf.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

BIN
common/images/helpabout.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
common/images/home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
common/images/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
common/images/joint.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
common/images/list.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
common/images/loading.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
common/images/log.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 994 B

BIN
common/images/pause.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
common/images/play.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 533 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 B

BIN
common/images/remove.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
common/images/send.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
common/images/spindown.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

BIN
common/images/spindown.png- Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

BIN
common/images/spinup.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

BIN
common/images/spinup.png- Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

BIN
common/images/up_arrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

BIN
common/images/up_arrow.png- Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

View File

@@ -0,0 +1 @@
Document-Delete-icon.png

4
facility/make.sh Normal file
View File

@@ -0,0 +1,4 @@
cd sf
make -f makefile-pyrcc5 -s compile
make -f makefile-pyrcc5 -s install
cd ../

2
facility/make.sh~ Normal file
View File

@@ -0,0 +1,2 @@
make -f sf/makefile-pyrcc5 -s compile
make -f sf/makefile-pyrcc5 -s install

2099
facility/sf/config/#acc.qss# Normal file

File diff suppressed because it is too large Load Diff

1
facility/sf/config/acc.qss Symbolic link
View File

@@ -0,0 +1 @@
../../../common/config/acc.qss

View File

@@ -0,0 +1,182 @@
{
"menuFlags":{
"hasFile": 1,
"loadInitFile": 1,
"hasDaq": 1,
"hasH5" : 1,
"hasEpics" : 1
},
"Expt": {
"encoding": "UTF-8",
"beamline": "",
"exptColorBg": "blue",
"exptColorFg": "white",
"operator": "sfop"
},
"ElogBooks": {
"SwissFEL+commissioning": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+commissioning",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+commissioning/"
},
"SwissFEL+commissioning+data": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+commissioning+data",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+commissioning+data/"
},
"SwissFEL+test": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+test",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+test/"
},
"SwissFEL+test+data": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+test+data",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+test+data/"
}
},
"Elog": {
"useELOGenv" : 0,
"host": "elog-gfa.psi.ch",
"book": "SwissFEL+commissioning+data",
"url": "https://elog-gfa.psi.ch:443/SwissFEL+commissioning+data",
"destination": "/sf/data/measurements/",
"category": ["Info","Measurement"],
"system" : ["","Beamdynamics","Controls", "Diagnostics", "Electric supply", "Insertion-devices", "Laser",
"Magnet Power Supplies", "Operation", "RF", "Safety", "Vacuum", "Water cooling", "Other", "Unknown"],
"domain" : ["","Injector","Linac1","Linac2","Linac3","Aramis","Aramis Beamlines","Athos","Athos Beamlines"],
"section" : [ [""],
["","SINEG01", "SINBD01", "SINSB01", "SINSB02", "SINLH01", "SINLH02", "SINLH03", "SINSB03", "SINSB04", "SINSB05", "SINXB01", "SINBC01", "SINBC02", "SINDI01", "SINDI02"],
["","S10CB01", "S10CB02", "S10DI01", "S10BD01", "S10CB03", "S10CB04", "S10CB05", "S10CB06", "S10CB08", "S10CB09", "S10BC01", "S10BC02", "S10MA01"],
["","S20CB01", "S20CB02", "S20CB03", "S20CB04", "S20SY01", "S20SY02", "S20SY03"],
["","S30CB01", "S30CB02", "S20CB03", "S30CB04", "S30CB05", "S30CB06", "S30CB07", "S30CB08", "S30CB09", "S30CB10", "S30CB11", "S30CB12", "S30CB13", "S30CB14", "S30CB15", "S30CB16"],
["","SARCL01", "SARCL02", "SARMA01", "SARMA02", "SARUN01", "SARUN02", "SARUN03", "SARUN04", "SARUN05", "SARUN06", "SARUN07", "SARUN08", "SARUN09", "SARUN10", "SARUN11", "SARUN12",
"SARUN13", "SARUN14", "SARUN15", "SARUN16", "SARUN17", "SARUN18", "SARUN19", "SARUN20", "SARBD01", "SARBD02"],
["","SARFE10 (Gas detector)", "SAROP11 (ESA / ALVRA)", "SAROP21 (ESB / Bernina)", "SAROP31 (ESC)"],
["","SATSY01", "SATSY02", "SATSY03", "SATCL01", "SATDI01", "SATCB01", "SATCB02", "SATMA01", "SATUN01", "SATUN02", "SATUN03", "SATUN04", "SATUN05", "SATUN06", "SATUN07", "SATUN08",
"SATUN09", "SATUN10", "SATDI04", "SATUN11", "SATUN12", "SATUN13", "SATUN14", "SATUN15", "SATUN16", "SATUN17", "SATUN18", "SATUN19", "SATUN20", "SATUN21", "SATUN22", "SATBD01", "SATBD02"],
["","SATFE10", "SATOP1"]
]
},
"stdlog": {
"destination": "/tmp/"
},
"screenshot": {
"destination": "/sf/data/applications/screenshot/"
},
"url": {
"archiver" : "https://ui-data-api.psi.ch/prepare?channel=sf-archiverappliance/",
"databuffer": "https://ui-data-api.psi.ch/prepare?channel=sf-databuffer/"
},
"OpMsg":{
"pvDate1" :"SF-OP:CR-MSG:OP-DATE1",
"pvMsg1" :"SF-OP:CR-MSG:OP-MSG1",
"pvBeamOK":"SFTEST-CVME-TI3-EVR0:BUNCH-1-OK",
"pvEventNo":"SIN-TIMAST-EVG0:TX-PULSEID"
},
"BS":{
"pvFreqSel":"SWISSFEL-STATUS:Bunch-1-Freq-Sel",
"pvFreqRB" :"SWISSFEL-STATUS:Bunch-1-Appl-Freq-RB",
"modulo": 10,
"offset": 0,
"timeoutMS":1000
},
"Aramis":{
"undulators":["SARUN03-UIND030:K_SET", "SARUN04-UIND030:K_SET", "SARUN05-UIND030:K_SET",
"SARUN06-UIND030:K_SET", "SARUN07-UIND030:K_SET", "SARUN08-UIND030:K_SET",
"SARUN09-UIND030:K_SET", "SARUN10-UIND030:K_SET", "SARUN11-UIND030:K_SET",
"SARUN12-UIND030:K_SET", "SARUN13-UIND030:K_SET", "SARUN14-UIND030:K_SET",
"SARUN15-UIND030:K_SET"],
"BPMs-RT":["SARBD02-DBPM040:Y1-RT", "SARBD02-DBPM010:Y1-RT", "SARCL02-DBPM260:X1-RT"],
"BPMs":["SARBD02-DBPM040:Y1", "SARBD02-DBPM010:Y1", "SARCL02-DBPM260:X1"],
"dump": "SFB_BEAM_DUMP_AR:ONOFF1",
"optics": "SFB_OPTICS_SAR:ONOFF1",
"quadI": "SARBD02-MQUA030:I-SET",
"quadCycle": "SARBD02-MQUA030:CYCLE",
"beamStatus": "SOP-BEAMSTATUS-AR",
"energy" : "SARBD02-DBPM040:ENERGY-OP",
"charge": "SINEG01-DICT215:B1_CHARGE-OP",
"freq": "SIN-TIMAST-TMA:Bunch-1-Appl-Freq-RB",
"laser": "SWISSFEL-STATUS:Bunch-1-Las-Appl-RB",
"photonEnergy": "SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG",
"color": "#00b7eb",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #00b7eb)"
},
"Athos":{
"undulators":[
"SATUN06-UIND030:K_SET", "SATUN07-UIND030:K_SET", "SATUN08-UIND030:K_SET",
"SATUN09-UIND030:K_SET", "SATUN10-UIND030:K_SET", "SATUN11-UIND030:K_SET",
"SATUN12-UIND030:K_SET", "SATUN13-UIND030:K_SET",
"SATUN15-UIND030:K_SET", "SATUN16-UIND030:K_SET", "SATUN17-UIND030:K_SET",
"SATUN18-UIND030:K_SET", "SATUN19-UIND030:K_SET", "SATUN20-UIND030:K_SET",
"SATUN21-UIND030:K_SET", "SATUN22-UIND030:K_SET"
],
"BPMs-RT":["SATBD02-DBPM040:Y2-RT", "SATBD02-DBPM010:Y2-RT"],
"BPMs":["SATBD02-DBPM040:Y2", "SATBD02-DBPM010:Y2"],
"dump": "SFB_BEAM_DUMP_AT:ONOFF1",
"optics": "SFB_OPTICS_SAT:ONOFF1",
"quadI": "SATBD02-MQUA030:I-SET",
"quadCycle": "SATBD02-MQUA030:CYCLE",
"beamStatus": "SOP-BEAMSTATUS-AT",
"energy" : "SATBD02-DBPM040:ENERGY-OP",
"charge": "SINEG01-DICT215:B2_CHARGE-OP",
"freq": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"laser": "SWISSFEL-STATUS:Bunch-2-Las-Appl-RB",
"photonEnergy": "SATFE10-PEPG046:PHOTON-ENERGY-PER-PULSE-AVG",
"color": "#2e5894",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FFFFFF, stop: 1 #2e5894)"
},
"Porthos":{
"laser": "SWISSFEL-STATUS:Bunch-2-Las-Appl-RB",
"pvFreqRB": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"freq": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"beamStatus": "SOP-BEAMSTATUS-AT",
"energy" : "SATBD02-DBPM040:ENERGY-OP",
"charge": "SINEG01-DICT215:B2_CHARGE-OP",
"photonEnergy": "SATFE10-PEPG046:PHOTON-ENERGY-PER-PULSE-AVG",
"color": "#9c6da5",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #9b111e, stop: 1 #FFFFFF)"
},
"Update":{
"freq": [0.5, 1, 2, 5, 10],
"defaultIdx": 1
},
"DAQ":{
"caWaitSec": 0.09
},
"MsgSeverity": {
"fatal": "#ee0011",
"error": "#990033",
"warn": "#cc6600",
"info": "#0040ff",
"debug": "#11aaee"
},
"StyleGuide":{
"widgetHeight": 25,
"extraGroupHeight": 30,
"aramis_color": "#00b7eb",
"athos_color": "#2e5894",
"aramis_qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #00b7eb , stop: 1 #ffffff)",
"athos_qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2e5894 , stop: 1 #ffffff)"
},
"hdf": {
"destination" : "/sf/data/measurements/",
"groups":["General/Created","General/Author","General/Process","General/UID","General/Filepath",
"Machine/Charge", "Machine/Laser","Machine/RepetitionRate","Machine/BeamDestination","Machine/Energy",
"Method/Method","Method/Sensors","Method/Actuators","Method/TimeRecordLength","Method/Background",
"Data"],
"experiment" : ["SOP-BEAMSTATUS-AR", "SARBD02-DBPM040:ENERGY-OP", "SINEG01-DICT215:B1_CHARGE-OP",
"SIN-TIMAST-TMA:Bunch-1-Appl-Freq-RB", "SWISSFEL-STATUS:Bunch-1-Las-Appl-RB",
"SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG",
"SOP-BEAMSTATUS-AT", "SATBD02-DBPM040:ENERGY-OP", "SINEG01-DICT215:B2_CHARGE-OP",
"SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB", "SWISSFEL-STATUS:Bunch-2-Las-Appl-RB",
"SATFE10-PEPG046:PHOTON-ENERGY-PER-PULSE-AVG"]
},
"hdfExperiment": {
"charge": "SINEG01-DICT215:B1_CHARGE_AVERAGE-OP",
"laser": "SLG-LGEN:WHICH_LASER",
"repRate": "SIN-TIMAST-TMA:Beam-Appl-Freq-RB",
"beamDest": "SF:MODE_AR",
"energy": "SF:ENERGY_AR"
},
"hdfData": {
"dataSet": ["timestamp","data", "pulse_id", "timestamp_offset"]
}
}

View File

@@ -0,0 +1,170 @@
{
"menuFlags":{
"hasFile": 1,
"loadInitFile": 1,
"hasDaq": 1,
"hasH5" : 1,
"hasEpics" : 1
},
"Expt": {
"encoding": "UTF-8",
"beamline": "",
"exptColorBg": "blue",
"exptColorFg": "white",
"operator": "sfop"
},
"ElogBooks": {
"SwissFEL+commissioning": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+commissioning",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+commissioning/"
},
"SwissFEL+commissioning+data": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+commissioning+data",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+commissioning+data/"
},
"SwissFEL+test": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+test",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+test/"
},
"SwissFEL+test+data": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+test+data",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+test+data/"
}
},
"Elog": {
"useELOGenv" : 0,
"host": "elog-gfa.psi.ch",
"book": "SwissFEL+commissioning+data",
"url": "https://elog-gfa.psi.ch:443/SwissFEL+commissioning+data",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+commissioning+data/",
"category": ["Info","Measurement"],
"system" : ["","Beamdynamics","Controls", "Diagnostics", "Electric supply", "Insertion-devices", "Laser",
"Magnet Power Supplies", "Operation", "RF", "Safety", "Vacuum", "Water cooling", "Other", "Unknown"],
"domain" : ["","Injector","Linac1","Linac2","Linac3","Aramis","Aramis Beamlines","Athos","Athos Beamlines"],
"section" : [ [""],
["","SINEG01", "SINBD01", "SINSB01", "SINSB02", "SINLH01", "SINLH02", "SINLH03", "SINSB03", "SINSB04", "SINSB05", "SINXB01", "SINBC01", "SINBC02", "SINDI01", "SINDI02"],
["","S10CB01", "S10CB02", "S10DI01", "S10BD01", "S10CB03", "S10CB04", "S10CB05", "S10CB06", "S10CB08", "S10CB09", "S10BC01", "S10BC02", "S10MA01"],
["","S20CB01", "S20CB02", "S20CB03", "S20CB04", "S20SY01", "S20SY02", "S20SY03"],
["","S30CB01", "S30CB02", "S20CB03", "S30CB04", "S30CB05", "S30CB06", "S30CB07", "S30CB08", "S30CB09", "S30CB10", "S30CB11", "S30CB12", "S30CB13", "S30CB14", "S30CB15", "S30CB16"],
["","SARCL01", "SARCL02", "SARMA01", "SARMA02", "SARUN01", "SARUN02", "SARUN03", "SARUN04", "SARUN05", "SARUN06", "SARUN07", "SARUN08", "SARUN09", "SARUN10", "SARUN11", "SARUN12",
"SARUN13", "SARUN14", "SARUN15", "SARUN16", "SARUN17", "SARUN18", "SARUN19", "SARUN20", "SARBD01", "SARBD02"],
["","SARFE10 (Gas detector)", "SAROP11 (ESA / ALVRA)", "SAROP21 (ESB / Bernina)", "SAROP31 (ESC)"],
["","SATSY01", "SATSY02", "SATSY03", "SATCL01", "SATDI01", "SATCB01", "SATCB02", "SATMA01", "SATUN01", "SATUN02", "SATUN03", "SATUN04", "SATUN05", "SATUN06", "SATUN07", "SATUN08",
"SATUN09", "SATUN10", "SATDI04", "SATUN11", "SATUN12", "SATUN13", "SATUN14", "SATUN15", "SATUN16", "SATUN17", "SATUN18", "SATUN19", "SATUN20", "SATUN21", "SATUN22", "SATBD01", "SATBD02"],
["","SATFE10", "SATOP1"]
]
},
"stdlog": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/stdlog/"
},
"screenshot": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/screenshot/"
},
"url": {
"archiver" : "https://ui-data-api.psi.ch/prepare?channel=sf-archiverappliance/",
"databuffer": "https://ui-data-api.psi.ch/prepare?channel=sf-databuffer/"
},
"OpMsg":{
"pvDate1" :"SF-OP:CR-MSG:OP-DATE1",
"pvMsg1" :"SF-OP:CR-MSG:OP-MSG1",
"pvBeamOK":"SFTEST-CVME-TI3-EVR0:BUNCH-1-OK",
"pvEventNo":"SIN-TIMAST-EVG0:TX-PULSEID"
},
"BS":{
"pvFreqSel":"SWISSFEL-STATUS:Bunch-1-Freq-Sel",
"pvFreqRB" :"SWISSFEL-STATUS:Bunch-1-Appl-Freq-RB",
"modulo": 10,
"offset": 0,
"timeoutMS":1000
},
"Aramis":{
"laser": "SWISSFEL-STATUS:Bunch-1-Las-Appl-RB",
"pvFreqRB": "SIN-TIMAST-TMA:Bunch-1-Appl-Freq-RB",
"freq": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"beamStatus": "SOP-BEAMSTATUS-AR",
"energy" : "SARBD02-DBPM040:ENERGY-OP",
"charge": "SINEG01-DICT215:B1_CHARGE-OP",
"photonEnergy": "SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG",
"color": "#00b7eb",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #00b7eb)"
},
"Athos":{
"laser": "SWISSFEL-STATUS:Bunch-2-Las-Appl-RB",
"pvFreqRB": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"freq": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"beamStatus": "SOP-BEAMSTATUS-AT",
"energy" : "SATBD02-DBPM040:ENERGY-OP",
"charge": "SINEG01-DICT215:B2_CHARGE-OP",
"photonEnergy": "SATFE10-PEPG046:PHOTON-ENERGY-PER-PULSE-AVG",
"color": "#2e5894",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FFFFFF, stop: 1 #2e5894)"
},
"Porthos":{
"laser": "SWISSFEL-STATUS:Bunch-2-Las-Appl-RB",
"pvFreqRB": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"freq": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"beamStatus": "SOP-BEAMSTATUS-AT",
"energy" : "SATBD02-DBPM040:ENERGY-OP",
"charge": "SINEG01-DICT215:B2_CHARGE-OP",
"photonEnergy": "SATFE10-PEPG046:PHOTON-ENERGY-PER-PULSE-AVG",
"color": "#9c6da5",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #9b111e, stop: 1 #FFFFFF)"
},
"Update":{
"freq": [0.5, 1, 2, 5, 10],
"defaultIdx": 1
},
"DAQ":{
"caWaitSec": 0.09
},
"MsgSeverity": {
"fatal": "#ee0011",
"error": "#990033",
"warn": "#cc6600",
"info": "#0040ff",
"debug": "#11aaee"
},
"StyleGuide":{
"widgetHeight": 25,
"extraGroupHeight": 30,
"fgAlarmInvalid": "#ffffff",
"fgAlarmMajor": "#ff0000",
"fgAlarmMinor": "#fbfb04",
"fgAlarmNoAlarm": "#00cd00",
"fgNormalText": "#000000",
"fgCurveHor": "#2a63e4",
"fgCurveVer": "#8b1a96",
"fgCurveLong": "#cd6100",
"bgTitleOperation": "#dadada",
"bgTitleExpert": "#646464",
"bgTitleSimulation":"#8b1a96",
"bgMain": "#ececec",
"bgReadbackAlarm": "#c8c8c8",
"bgReadback" : "#ffffe0",
"bgPVSetBeam": "#d4db9d",
"bgPVSet": "#a0a0a0",
"bgButtonWindow": "#b79d5c",
"bgGroupContainers":"#e1e1e1",
"bgErrorLogFile" : "#f0f0f8",
"aramis_color": "#00b7eb",
"athos_color": "#2e5894",
"aramis_qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #00b7eb , stop: 1 #ffffff)",
"athos_qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2e5894 , stop: 1 #ffffff)"
},
"h5": {
"groups":["General/Created","General/Author","General/Process","General/UID","General/Filepath",
"Machine/Charge", "Machine/Laser","Machine/RepetitionRate","Machine/BeamDestination","Machine/Energy",
"Method/Method","Method/Sensors","Method/Actuators","Method/TimeRecordLength","Method/Background",
"Data"]
},
"h5Machine": {
"charge": "SINEG01-DICT215:B1_CHARGE_AVERAGE-OP",
"laser": "SLG-LGEN:WHICH_LASER",
"repRate": "SIN-TIMAST-TMA:Beam-Appl-Freq-RB",
"beamDest": "SF:MODE_AR",
"energy": "SF:ENERGY_AR"
},
"h5Data": {
"dataSet": ["timestamp","data", "pulse_id", "timestamp_offset"]
}
}

View File

@@ -0,0 +1,195 @@
{
"menuFlags":{
"hasFile": 1,
"loadInitFile": 1,
"hasDaq": 1,
"hasH5" : 1,
"hasEpics" : 1
},
"Expt": {
"encoding": "UTF-8",
"beamline": "",
"exptColorBg": "blue",
"exptColorFg": "white",
"operator": "sfop"
},
"ElogBooks": {
"SwissFEL+commissioning": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+commissioning",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+commissioning/"
},
"SwissFEL+commissioning+data": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+commissioning+data",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+commissioning+data/"
},
"SwissFEL+test": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+test",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+test/"
},
"SwissFEL+test+data": {
"url": "https://elog-gfa.psi.ch:443/SwissFEL+test+data",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+test+data/"
}
},
"Elog": {
"useELOGenv" : 0,
"host": "elog-gfa.psi.ch",
"book": "SwissFEL+commissioning+data",
"url": "https://elog-gfa.psi.ch:443/SwissFEL+commissioning+data",
"destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/SwissFEL+commissioning+data/",
"category": ["Info","Measurement"],
"system" : ["","Beamdynamics","Controls", "Diagnostics", "Electric supply", "Insertion-devices", "Laser",
"Magnet Power Supplies", "Operation", "RF", "Safety", "Vacuum", "Water cooling", "Other", "Unknown"],
"domain" : ["","Injector","Linac1","Linac2","Linac3","Aramis","Aramis Beamlines","Athos","Athos Beamlines"],
"section" : [ [""],
["","SINEG01", "SINBD01", "SINSB01", "SINSB02", "SINLH01", "SINLH02", "SINLH03", "SINSB03", "SINSB04", "SINSB05", "SINXB01", "SINBC01", "SINBC02", "SINDI01", "SINDI02"],
["","S10CB01", "S10CB02", "S10DI01", "S10BD01", "S10CB03", "S10CB04", "S10CB05", "S10CB06", "S10CB08", "S10CB09", "S10BC01", "S10BC02", "S10MA01"],
["","S20CB01", "S20CB02", "S20CB03", "S20CB04", "S20SY01", "S20SY02", "S20SY03"],
["","S30CB01", "S30CB02", "S20CB03", "S30CB04", "S30CB05", "S30CB06", "S30CB07", "S30CB08", "S30CB09", "S30CB10", "S30CB11", "S30CB12", "S30CB13", "S30CB14", "S30CB15", "S30CB16"],
["","SARCL01", "SARCL02", "SARMA01", "SARMA02", "SARUN01", "SARUN02", "SARUN03", "SARUN04", "SARUN05", "SARUN06", "SARUN07", "SARUN08", "SARUN09", "SARUN10", "SARUN11", "SARUN12",
"SARUN13", "SARUN14", "SARUN15", "SARUN16", "SARUN17", "SARUN18", "SARUN19", "SARUN20", "SARBD01", "SARBD02"],
["","SARFE10 (Gas detector)", "SAROP11 (ESA / ALVRA)", "SAROP21 (ESB / Bernina)", "SAROP31 (ESC)"],
["","SATSY01", "SATSY02", "SATSY03", "SATCL01", "SATDI01", "SATCB01", "SATCB02", "SATMA01", "SATUN01", "SATUN02", "SATUN03", "SATUN04", "SATUN05", "SATUN06", "SATUN07", "SATUN08",
"SATUN09", "SATUN10", "SATDI04", "SATUN11", "SATUN12", "SATUN13", "SATUN14", "SATUN15", "SATUN16", "SATUN17", "SATUN18", "SATUN19", "SATUN20", "SATUN21", "SATUN22", "SATBD01", "SATBD02"],
["","SATFE10", "SATOP1"]
]
},
"stdlog": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/stdlog/"
},
"screenshot": {
"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/screenshot/"
},
"url": {
"archiver" : "https://ui-data-api.psi.ch/prepare?channel=sf-archiverappliance/",
"databuffer": "https://ui-data-api.psi.ch/prepare?channel=sf-databuffer/"
},
"OpMsg":{
"pvDate1" :"SF-OP:CR-MSG:OP-DATE1",
"pvMsg1" :"SF-OP:CR-MSG:OP-MSG1",
"pvBeamOK":"SFTEST-CVME-TI3-EVR0:BUNCH-1-OK",
"pvEventNo":"SIN-TIMAST-EVG0:TX-PULSEID"
},
"BS":{
"pvFreqSel":"SWISSFEL-STATUS:Bunch-1-Freq-Sel",
"pvFreqRB" :"SWISSFEL-STATUS:Bunch-1-Appl-Freq-RB",
"modulo": 10,
"offset": 0,
"timeoutMS":1000
},
"Aramis":{
"undulators":["SARUN03-UIND030:K_SET", "SARUN04-UIND030:K_SET", "SARUN05-UIND030:K_SET",
"SARUN06-UIND030:K_SET", "SARUN07-UIND030:K_SET", "SARUN08-UIND030:K_SET",
"SARUN09-UIND030:K_SET", "SARUN10-UIND030:K_SET", "SARUN11-UIND030:K_SET",
"SARUN12-UIND030:K_SET", "SARUN13-UIND030:K_SET", "SARUN14-UIND030:K_SET",
"SARUN15-UIND030:K_SET"],
"BPMs-RT":["SARBD02-DBPM040:Y1-RT", "SARBD02-DBPM010:Y1-RT", "SARCL02-DBPM260:X1-RT"],
"BPMs":["SARBD02-DBPM040:Y1", "SARBD02-DBPM010:Y1", "SARCL02-DBPM260:X1"],
"dump": "SFB_BEAM_DUMP_AR:ONOFF1",
"optics": "SFB_OPTICS_SAR:ONOFF1",
"quadI": "SARBD02-MQUA030:I-SET",
"quadCycle": "SARBD02-MQUA030:CYCLE",
"beamStatus": "SOP-BEAMSTATUS-AR",
"energy" : "SARBD02-DBPM040:ENERGY-OP",
"charge": "SINEG01-DICT215:B1_CHARGE-OP",
"freq": "SIN-TIMAST-TMA:Bunch-1-Appl-Freq-RB",
"laser": "SWISSFEL-STATUS:Bunch-1-Las-Appl-RB",
"photonEnergy": "SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG",
"color": "#00b7eb",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #00b7eb)"
},
"Athos":{
"undulators":[
"SATUN06-UIND030:K_SET", "SATUN07-UIND030:K_SET", "SATUN08-UIND030:K_SET",
"SATUN09-UIND030:K_SET", "SATUN10-UIND030:K_SET", "SATUN11-UIND030:K_SET",
"SATUN12-UIND030:K_SET", "SATUN13-UIND030:K_SET",
"SATUN15-UIND030:K_SET", "SATUN16-UIND030:K_SET", "SATUN17-UIND030:K_SET",
"SATUN18-UIND030:K_SET", "SATUN19-UIND030:K_SET", "SATUN20-UIND030:K_SET",
"SATUN21-UIND030:K_SET", "SATUN22-UIND030:K_SET"
],
"BPMs-RT":["SATBD02-DBPM040:Y2-RT", "SATBD02-DBPM010:Y2-RT"],
"BPMs":["SATBD02-DBPM040:Y2", "SATBD02-DBPM010:Y2"],
"dump": "SFB_BEAM_DUMP_AT:ONOFF1",
"optics": "SFB_OPTICS_SAT:ONOFF1",
"quadI": "SATBD02-MQUA030:I-SET",
"quadCycle": "SATBD02-MQUA030:CYCLE",
"beamStatus": "SOP-BEAMSTATUS-AT",
"energy" : "SATBD02-DBPM040:ENERGY-OP",
"charge": "SINEG01-DICT215:B2_CHARGE-OP",
"freq": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"laser": "SWISSFEL-STATUS:Bunch-2-Las-Appl-RB",
"photonEnergy": "SATFE10-PEPG046:PHOTON-ENERGY-PER-PULSE-AVG",
"color": "#2e5894",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FFFFFF, stop: 1 #2e5894)"
},
"Porthos":{
"laser": "SWISSFEL-STATUS:Bunch-2-Las-Appl-RB",
"pvFreqRB": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"freq": "SIN-TIMAST-TMA:Bunch-2-Appl-Freq-RB",
"beamStatus": "SOP-BEAMSTATUS-AT",
"energy" : "SATBD02-DBPM040:ENERGY-OP",
"charge": "SINEG01-DICT215:B2_CHARGE-OP",
"photonEnergy": "SATFE10-PEPG046:PHOTON-ENERGY-PER-PULSE-AVG",
"color": "#9c6da5",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #9b111e, stop: 1 #FFFFFF)"
},
"Update":{
"freq": [0.5, 1, 2, 5, 10],
"defaultIdx": 1
},
"DAQ":{
"caWaitSec": 0.09
},
"MsgSeverity": {
"fatal": "#ee0011",
"error": "#990033",
"warn": "#cc6600",
"info": "#0040ff",
"debug": "#11aaee"
},
"StyleGuide":{
"widgetHeight": 25,
"extraGroupHeight": 30,
"fgAlarmInvalid": "#ffffff",
"fgAlarmMajor": "#ff0000",
"fgAlarmMinor": "#fbfb04",
"fgAlarmNoAlarm": "#00cd00",
"fgNormalText": "#000000",
"fgCurveHor": "#2a63e4",
"fgCurveVer": "#8b1a96",
"fgCurveLong": "#cd6100",
"bgTitleOperation": "#dadada",
"bgTitleExpert": "#646464",
"bgTitleSimulation":"#8b1a96",
"bgMain": "#ececec",
"bgReadbackAlarm": "#c8c8c8",
"bgReadback" : "#ffffe0",
"bgPVSetBeam": "#d4db9d",
"bgPVSet": "#a0a0a0",
"bgButtonWindow": "#b79d5c",
"bgGroupContainers":"#e1e1e1",
"bgErrorLogFile" : "#f0f0f8",
"aramis_color": "#00b7eb",
"athos_color": "#2e5894",
"aramis_qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #00b7eb , stop: 1 #ffffff)",
"athos_qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2e5894 , stop: 1 #ffffff)"
},
"hdf": {
"destination" : "/sf/data/measurements/",
"groups":["General/Created","General/Author","General/Process","General/UID","General/Filepath",
"Machine/Charge", "Machine/Laser","Machine/RepetitionRate","Machine/BeamDestination","Machine/Energy",
"Method/Method","Method/Sensors","Method/Actuators","Method/TimeRecordLength","Method/Background",
"Data"]
},
"hdfMachine": {
"charge": "SINEG01-DICT215:B1_CHARGE_AVERAGE-OP",
"laser": "SLG-LGEN:WHICH_LASER",
"repRate": "SIN-TIMAST-TMA:Beam-Appl-Freq-RB",
"beamDest": "SF:MODE_AR",
"energy": "SF:ENERGY_AR"
},
"hdfData": {
"dataSet": ["timestamp","data", "pulse_id", "timestamp_offset"]
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
../../../common/config/style.json

View File

@@ -0,0 +1,41 @@
<html><head><title>BBA: Quad and BPM</title></head>
<body>
<h5 style="color:gray;"> 15 July 2016, M. Aiba </h5>
<h4>
The application performs a measurement of the offset between a quadrupole and neighbouring BPM.
</h4>
<h2 style="color:blue;">About</h2>
The centre of a quadrupole is found by varying the quadrupole excitation current.
The beam trajectory downstream of the quadrupole is affected by down-feed dipole component except when the beam is going through the centre.
Therefore, the measurement is two-dimensional scan, i.e., the knobs are the beam position at the neighbouring BPM and the quadrupole excitation current.
The soft offset of the BPM (BPM:OFFS-X/Y) is varied, and the beam is centred by a feedback (see Orbit Tool).
The feedback loop should be configured and closed before the measurement is started.
<h2 style="color:blue;">The Panel</h2>
How to enable a measurement:
<ul style="list-style-type:decimal;">
<li>
Choose Quadrupole. Then the neighbouring BPM is automatically shown in GUI.
</li>
<li>
Choose BPM to measure the trajectory change.
</li>
<li>
Input or read the beam energy at the quadrupole. This value is used to compute how much the quadrupole current should be varied to obtain reasonable trajectory change. Therefore, it is not necessary to input exact number.
</li>
<li>
Choose Horizontal or Vertical plane to measure.
</li>
<li>
Set measurement range.
</li>
<li>
And finally push 'Start measurement'.
</li>
</ul>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><head><title>Example Application</title></head>
<body>
<p>This <b>Example Application</b> inherits from the</p>
<p>SFMainWindow base class. The central 'composite' widget</p>
<p>of the application is constructed in gui.py. </p>
<p>The configuration parameters are given <a href="page1.html"> here</a></p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 1 of web help</b></p>
<p> <a href="page2.html"> Next</a></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 2 of web help</b></p>
<p> <a href="page3.html"> Next</a></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 3 of web help</b></p>
<p> <a href="page4.html"> Next</a></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 4 of web help</b></p>
<p> <a href="page5.html"> Next</a></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 5 of web help</b></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,61 @@
<html><head><title>BLMeas: Bunch Length Measurement</title></head>
<body>
<h5 style="color:gray;">2 March 2022</h5>
<h4>
Measurement of the electron bunch length using an RF
transverse deflector and beam profile monitor.
</h4>
<h2 style="color:blue;">About</h2>
The application performs a measurement of the electron bunch length using an RF
transverse deflector. The profiles of the deflected beam are visualized by profile monitors located downstream. Two RF deflectors have presently been installed at SwissFEL. The first is positioned in the INJECTOR
(SINDI01), at z = 84 m, soon after the electron gun, while the second is positioned towards the end of LINAC3 (S30CB10), at z = 386 m.
A third deflector further downstream is planned.
<h2 style="color:blue;">The Panel</h2>
How to enable a measurement:
<ul style="list-style-type:decimal;">
<li style="padding:0px; margin:5px; ">
Select the RF Transverse Deflector and then the Profile Monitor from the drop down menu.
</li>
<li style="padding:0px; margin:5px;">
Modify the configuration parameters (No. Steps, Step Size, etc.) from the default values, if desired.
<br>
The zero-crossing phase and beam energy parameters
can likewise be selected by the user.
</li>
<li style="padding:0px; margin:5px;">
Select from the check boxes, the measurements that are to be made.
</li>
<li style="padding:0px; margin:5px;">
Set the measurement optics, which writes to the corresponding quadruple magnets, by pressing the 'Set' button in the 'Optics' group box. The associated quadruple magnets will be made evident in the neighbouring table.
</li>
<li style="padding:0px; margin:5px;">
Subsequent measurements with different RF Transverse Defector and Profile Monitor combinations require a new setting of the measurement optics.
</li>
<li style="padding:0px; margin:5px;">
With the settings in place, press 'Start' in the 'Procedure' box to perform the measurement.
</li>
<li style="padding:0px; margin:5px;">
Once the measurement is complete, the 'Save All' button in the 'Procedure' box
will propagate results to epics process variables and hdf5 data files,
before sending a summary, with plots, to ELOG.
<br>
Alternatively, data can be saved step-by-step using the approproate icons in the toolbar.
<br>
The HSF and image file names are appended with the date the analysis procedure began.
</li>
<li style="padding:0px; margin:5px;">
Before undertaking a new measurement,
or before quitting the application, restore the quadruples to their
initial values, using the 'Restore' button in the 'Optics' group box.
</li>
</ul>
<br><br>
</body></html>

View File

@@ -0,0 +1,63 @@
<html><head><title>BLMeas: Bunch Length Measurement</title></head>
<body>
<h5 style="color:gray;">10 August 2020 </h5>
<h4>
Measurement of the electron bunch length using an RF
transverse deflector and beam profile monitor.
</h4>
<h2 style="color:blue;">About</h2>
The application performs a measurement of the electron bunch length using an RF
transverse deflector. The profiles of the deflected beam are visualized by profile monitors
located downstream.
Two RF deflectors have been installed at SwissFEL. The first is positioned in the INJECTOR
(SINDI01), at z = 84 m, soon after the electron gun, while the second is positioned
towards the end of LINAC3 (S30CB10), at z = 386 m.
<h2 style="color:blue;">The Panel</h2>
How to enable a measurement:
<ul style="list-style-type:decimal;">
<li style="padding:0px; margin:5px; ">
Select the RF Transverse Deflector and then the Profile Monitor from the drop down menu.
</li>
<li style="padding:0px; margin:5px;">
Modify the configuration parameters (No. Steps, Step Size, etc.) from the default values, if desired.
<br>
The Zero-crossing Phase and Beam Energy parameters
are initialized from process variables but can be overwritten by the user.
</li>
<li style="padding:0px; margin:5px;">
Select from the check boxes, the measurements that are to be made.
</li>
<li style="padding:0px; margin:5px;">
Set the measurement optics, which writes to the corresponding quadruple magnets, by pressing the 'Set Measurement Optics' button. The associated quadruple magnets will be made evident in the neighbouring QTableWidget.
</li>
<li style="padding:0px; margin:5px;">
Subsequent measurements with differenct RF Transverse Defector and Profile Monitor combinations require a new setting of the measurement optics.
</li>
<li style="padding:0px; margin:5px;">
With the settings in place, press 'Start' to perform the measurement.
</li>
<li style="padding:0px; margin:5px;">
Once the measurement is complete, information related to the collected
(hdf5) data and the generated plots, can
be automatically posted to the selected elog book by pressing the ELog icon
in the application toolbar.
<br>
The data files are appended with
the first 9 digits of the run number, i.e., with one second sampling,
as recorded at the start of the measurement.
</li>
<li style="padding:0px; margin:5px;">
Before quitting the application, restore the quadruples to their
initial values, 'Restore Initial Values', if warranted.
</li>
</ul>
<br><br>
</body></html>

View File

@@ -0,0 +1,19 @@
<html><head><title>Example Application</title></head>
<body>
<p>This <b>Example Application</b> inherits from the SFMainWindow base class.<br>
The central 'composite' widget of the application is constructed in gui.py. <br>
<p>Configuration parameters, if any, may be entered, e.g., <a href="page1.html">here</a></p>
<p>These web pages are to be completed by the application owner.<br>
They are located in the following directory: <br>
/afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources/help/&lt;appname&gt;<br>
where &lt;appname&gt;.py is the name of the application program</p>
<p> After modification, execute the following script to incorporate changes<br>
into qrc_resource.py for import into PyQt4- and PyQt5-based applications:</p>
<p>cd /afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources</p>
<p>./make_and_install.sh</>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 1 of web help</b></p>
<p> <a href="page2.html"> Next</a></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 2 of web help</b></p>
<p> <a href="page3.html"> Next</a></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 3 of web help</b></p>
<p> <a href="page4.html"> Next</a></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 4 of web help</b></p>
<p> <a href="page5.html"> Next</a></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 5 of web help</b></p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,61 @@
<html><head><title>EmittanceMeas: Emittance and Optics Measurement Tool</title></head>
<body>
<h5 style="color:gray;">28 August 2020 </h5>
<h4>
A tool to measure the beam emittance and optics at various locations.
</h4>
<h2 style="color:blue;">About</h2>
The application performs a measurement of...
<h2 style="color:blue;">The Panel</h2>
How to enable a measurement:
<ul style="list-style-type:decimal;">
<li style="padding:0px; margin:5px; ">
Select ...
</li>
<!-- Example from Bunch Length Measurement
<li style="padding:0px; margin:5px;">
Modify the configuration parameters (No. Steps, Step Size, etc.) from the default values, if desired.
<br>
Cont...
</li>
<li style="padding:0px; margin:5px;">
Select from the check boxes, the measurements that are to be made.
</li>
<li style="padding:0px; margin:5px;">
Set the measurement optics, which writes to the corresponding quadruple magnets, by pressing the 'Set Measurement Optics' button. The associated quadruple magnets will be made evident in the neighbouring QTableWidget.
</li>
<li style="padding:0px; margin:5px;">
Subsequent measurements with different measurement devices and profile monitor combinations require a new setting of the measurement optics.
</li>
<li style="padding:0px; margin:5px;">
With the settings in place, press 'Start' to perform the measurement.
</li>
<li style="padding:0px; margin:5px;">
Once the measurement is complete, information related to the collected
(hdf5) data and the generated plots, can
be automatically posted to the selected elog book by pressing the ELog icon
in the application toolbar.
<br>
The data files are appended with
the first 9 digits of the run number, i.e., with one second sampling,
as recorded at the start of the measurement.
</li>
<li style="padding:0px; margin:5px;">
Before quitting the application, restore the quadruples to their
initial values, 'Restore Initial Values', if warranted.
</li>
-->
</ul>
<br><br>
</body></html>

View File

@@ -0,0 +1,57 @@
<html><head><title>EmittanceMeas: Emittance and Optics Measurement Tool</title></head>
<body>
<h5 style="color:gray;">28 August 2020 </h5>
<h4>
A tool to measure the beam emittance and optics at various locations.
</h4>
<h2 style="color:blue;">About</h2>
The application performs a measurement of...
<h2 style="color:blue;">The Panel</h2>
How to enable a measurement:
<ul style="list-style-type:decimal;">
<li style="padding:0px; margin:5px; ">
Select ...
</li>
<li style="padding:0px; margin:5px;">
Modify the configuration parameters (No. Steps, Step Size, etc.) from the default values, if desired.
<br>
Cont...
</li>
<li style="padding:0px; margin:5px;">
Select from the check boxes, the measurements that are to be made.
</li>
<li style="padding:0px; margin:5px;">
Set the measurement optics, which writes to the corresponding quadruple magnets, by pressing the 'Set Measurement Optics' button. The associated quadruple magnets will be made evident in the neighbouring QTableWidget.
</li>
<li style="padding:0px; margin:5px;">
Subsequent measurements with different measurement devices and profile monitor combinations require a new setting of the measurement optics.
</li>
<li style="padding:0px; margin:5px;">
With the settings in place, press 'Start' to perform the measurement.
</li>
<li style="padding:0px; margin:5px;">
Once the measurement is complete, information related to the collected
(hdf5) data and the generated plots, can
be automatically posted to the selected elog book by pressing the ELog icon
in the application toolbar.
<br>
The data files are appended with
the first 9 digits of the run number, i.e., with one second sampling,
as recorded at the start of the measurement.
</li>
<li style="padding:0px; margin:5px;">
Before quitting the application, restore the quadruples to their
initial values, 'Restore Initial Values', if warranted.
</li>
</ul>
<br><br>
</body></html>

View File

@@ -0,0 +1,19 @@
<html><head><title>Example Application</title></head>
<body>
<p>This <b>Example Application</b> inherits from the SFMainWindow base class.<br>
The central 'composite' widget of the application is constructed in gui.py. <br>
<p>Configuration parameters, if any, may be entered, e.g., <a href="page1.html">here</a></p>
<p>These web pages are to be completed by the application owner.<br>
They are located in the following directory: <br>
/afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources/help/&lt;appname&gt;<br>
where &lt;appname&gt;.py is the name of the application program</p>
<p> After modification, execute the following script to incorporate changes<br>
into qrc_resource.py for import into PyQt4- and PyQt5-based applications:</p>
<p>cd /afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources</p>
<p>./make_and_install.sh</>
</body></html>

View File

@@ -0,0 +1,9 @@
<html><head><title>JSON File</title></head>
<body>
<p><b>JSON file contains application configuration options</b></p>
<p><b>expt:</b> Text of the label that appears at the upper right corner of the window, default value: Expt</p>
<p><b>exptColorBg:</b> Background color of the label that appears at the upper right corner of the window, default value: Blue</p>
<p><b>exptColorFg:</b> Font color of the label that appears at the upper right corner of the window, default value: White</p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,24 @@
<html><head><title>JSON File</title></head>
<body>
<p><b>JSON file contains options for the application</b></p>
<p><b>Note: Do not change left side of the colon</b></p>
<p><b>expt:</b> Text of the label that appears at the up right corner of the window, default vaule: Expt</p>
<p><b>expt_color_bg:</b> Background color of the label that appears at the up right corner of the window, default vaule: Blue</p>
<p><b>expt_color_fg:</b> Font color of the label that appears at the up right corner of the window, default vaule: White</p>
<p><b>update_wait_ms:</b> update time (in millisecond) for getting data, default vaule: 200ms</p>
<p><b>titles:</b> Titles separated by comma for each graph, default vaule: Horizontal,Vertical,Charge,Energy</p>
<p><b>figureColor:</b> color of background in hexadecimal, default vaule: #ededed</p>
<p><b>markerColors:</b> color of markers in hexadecimal separated by comma for each graph, default vaule: #3813b6,#fa8072,#66cc33,#3399ff</p>
<p><b>markertypes:</b> marker-format, marker-size and marker-edgewidth separated by whitespace. For each graph group of marker-format, marker-size and marker-edgewidth separated by comma, default vaule: o 5 1,o 5 1,+ 10 3,+ 10 3</p>
<p><b>buttontxts:</b> Numbers on the buttons each number separated by whitespace. For each graph button group separated by comma, default vaule: 10 5 3 1 Max,10 5 3 1 Max,400 300 200 100 Max,6 4 2 1 Max</p>
<p><b>barWhenEqualAxis:</b> Change graph to bar chart when click to Equal axis 0 for False, otherwise True, default vaule: False</p>
<p><b>numberOfBtns:</b> Number of buttons in each button group separated by comma, default vaule: 4,4,4.3</p>
<p><b>btnUnits:</b> Units in each button group, default vaule: mm mm pC GeV</p>
<p><b>axisLbl:</b> X label and Y label separated by comma and for each graph separated by semicolon, default vaule: x(m),s(mm);y(m),s(m);Q(pC), ;E(GeV),s(mm)</p>
<p><b>connectMarks:</b> Whether connect markers with line 0 for False, otherwise True, default vaule: False</p>
<p><b>nodesXML:</b> Path of the xml file of the nodes, default vaule: cAramis.xml</p>
<p><b>glistXML:</b> Path of the xml file of the groups, default vaule: gDBPM_Aramis.xml</p>
<p><b>referenceFile:</b> Reference file contains information offset values, default vaule: reference.txt</p>
<p><b>isVirtual:</b> Is xml files contains virtual channels, 0 for False, otherwise True, default vaule: False</p>
</body></html>

View File

@@ -0,0 +1,9 @@
<html><head><title>JSON File</title></head>
<body>
<p><b>JSON file contains application configuration options</b></p>
<p><b>expt:</b> Text of the label that appears at the upper right corner of the window, default vaule: Expt</p>
<p><b>exptColorBg:</b> Background color of the label that appears at the upper right corner of the window, default vaule: Blue</p>
<p><b>exptColorFg:</b> Font color of the label that appears at the upper right corner of the window, default vaule: White</p>
<p><b>etc...</b> etc...</p>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><head><title>Web Help</title></head>
<body>
<p><b>Page 1 of web help</b></p>
<p> <a href="page2.html"> Next</a></p>
<p><b>etc...</b> etc...</p>
</body></html>

Some files were not shown because too many files have changed in this diff Show More