This commit is contained in:
gac-x09la
2022-08-08 13:28:59 +02:00
parent 62474e0059
commit b910d2f00d
89 changed files with 1953 additions and 667 deletions

View File

@@ -1,21 +1,34 @@
#Wed Mar 16 09:54:44 CET 2022
#Tue Jun 14 10:01:49 CEST 2022
autoSaveScanData=true
simulation=false
logDaysToLive=7
dataScanSaveOutput=false
userAuthenticator=
logLevelConsole=Off
filePermissionsConfig=Public
scanStreamerPort=-1
dataScanSaveScript=true
dataScanSaveSetpoints=true
notifiedTasks=
parallelInitialization=true
fdaSerialization=false
dataTransferPath=
saveConsoleSessionFiles=false
versionTrackingManual=true
dataTransferMode=Off
hostName=
userManagement=false
disableEmbeddedAttributes=false
instanceName=SIS
autoSaveScanData=true
simulation=false
dataServerPort=-1
serverPort=8080
hideServerMessages=false
versionTrackingEnabled=true
dataPath={data}/{year}_{month}/{date}/{date}_{time}_{name}
serverEnabled=true
logDaysToLive=7
depthDimension=0
dataScanReleaseRecords=false
dataScanPreserveTypes=true
dataScanSaveOutput=false
logLevel=Info
dataScanFlushRecords=false
logPath={logs}/{date}_{time}
@@ -26,23 +39,11 @@ sessionHandling=Off
terminalEnabled=false
notificationLevel=Off
filePermissionsScripts=Public
userAuthenticator=
terminalPort=3579
logLevelConsole=Off
filePermissionsConfig=Public
scanStreamerPort=-1
dataScanSaveScript=false
dataTransferUser=
dataScanSaveSetpoints=false
notifiedTasks=
filePermissionsData=Default
parallelInitialization=true
dataTransferPath=
saveConsoleSessionFiles=false
versionTrackingLogin={context}/svcusr-hlapp_robot
noBytecodeFiles=false
versionTrackingRemote=git@git.psi.ch\:pshell_config/x09la.git
versionTrackingManual=true
dataProvider=h5
dataTransferMode=Off
saveCommandStatistics=false

View File

@@ -16,6 +16,7 @@ shutter=ch.psi.pshell.epics.DiscretePositioner|X09LA-SIS:OPEN|||true
grating=ch.psi.pshell.epics.DiscretePositioner|X09LA-PGM-GRCH:GRATING X09LA-PGM:grating|||true
pgm_cff=ch.psi.pshell.epics.Positioner|X09LA-PGM:cff.A.SETP X09LA-PGM:cff.A.VAL|||true
photon_energy=ch.psi.pshell.epics.Positioner|X09LA-PHS:E_SP X09LA-PGM:rbkenergy|||true
id_energy=ch.psi.pshell.epics.ProcessVariable|X09LA-ID:ENERGY_SP|||true
oper_mode=ch.psi.pshell.epics.DiscretePositioner|X09LA-PHS-E:OPT|||true
temp_cryostat=ch.psi.pshell.epics.ReadonlyProcessVariable|X09LA-PC-LAKESHORE:TEMP_RBV|Read||false
temp_sample1=ch.psi.pshell.epics.ReadonlyProcessVariable|X09LA-PC-LAKESHORE:TEMP-B|Read||
@@ -33,6 +34,7 @@ fe_vert_width=ch.psi.pshell.epics.ProcessVariable|X09LA-FE-SVsize|||true
fe_horiz_width=ch.psi.pshell.epics.ProcessVariable|X09LA-FE-SHsize|||true
fe_state=ch.psi.pshell.epics.DiscretePositioner|X09LA-FE-DSAPER|||true
master=ch.psi.pshell.device.MasterPositioner|tilt x y z|||
analyser_slit=ch.psi.pshell.epics.DiscretePositioner|X09LA-ES1-DA30:SLIT|||true
image=ch.psi.pshell.imaging.CameraSource|scienta|||true
cam1=ch.psi.pshell.imaging.MjpegSource|http://129.129.117.82/axis-cgi/mjpg/video.cgi?camera=1||-200|
cam2=ch.psi.pshell.imaging.MjpegSource|http://129.129.117.82/axis-cgi/mjpg/video.cgi?camera=2||-200|
@@ -40,3 +42,4 @@ cam3=ch.psi.pshell.imaging.MjpegSource|http://129.129.117.82/axis-cgi/mjpg/video
cam4=ch.psi.pshell.imaging.MjpegSource|http://129.129.117.82/axis-cgi/mjpg/video.cgi?camera=4||-200|
cam5=ch.psi.pshell.imaging.MjpegSource|http://129.129.117.84/axis-cgi/mjpg/video.cgi||-200|
cam6=ch.psi.pshell.imaging.MjpegSource|http://129.129.117.85/axis-cgi/mjpg/video.cgi||-200|
#raw_image=ch.psi.pshell.imaging.MjpegSource|http://129.129.117.81:8080/monitor/raw-camera-hardware-settings||-200|

BIN
config/preferences.bin Normal file

Binary file not shown.

126
config/preferences.json Normal file
View File

@@ -0,0 +1,126 @@
{
"fontShellPanel" : {
"name" : "Monospaced",
"style" : 0,
"size" : 13
},
"fontShellCommand" : {
"name" : "SansSerif",
"style" : 0,
"size" : 13
},
"fontOutput" : {
"name" : "Monospaced",
"style" : 0,
"size" : 13
},
"fontEditor" : {
"name" : "Monospaced",
"style" : 0,
"size" : 13
},
"fontPlotLabel" : {
"name" : "SansSerif",
"style" : 0,
"size" : 11
},
"fontPlotTick" : {
"name" : "SansSerif",
"style" : 0,
"size" : 10
},
"fontPlotTitle" : {
"name" : "SansSerif",
"style" : 1,
"size" : 13
},
"fontTerminal" : {
"name" : "Monospaced",
"style" : 0,
"size" : 14
},
"tabSize" : 4,
"contentWidth" : 0,
"editorBackground" : null,
"editorForeground" : null,
"simpleEditor" : false,
"hideEditorLineNumbers" : false,
"hideEditorContextMenu" : false,
"consoleLocation" : "Left",
"dataPanelLocation" : null,
"openDataFilesInDocTab" : false,
"noVariableEvaluationPropagation" : false,
"processingScripts" : [ ],
"asyncViewersUpdate" : false,
"scanPlotDisabled" : false,
"scanTableDisabled" : false,
"cachedDataPanel" : false,
"dataExtensions" : null,
"dataSubFiles" : null,
"hideFileName" : false,
"showEmergencyStop" : false,
"showHomingButtons" : false,
"showJogButtons" : false,
"hideScanPanel" : false,
"hideOutputPanel" : false,
"showXScanFileBrowser" : false,
"showQueueBrowser" : false,
"backgroundRendering" : false,
"showImageStatusBar" : true,
"persistRendererWindows" : true,
"defaultRendererColormap" : "Grayscale",
"linePlot" : "ch.psi.pshell.plot.LinePlotJFree",
"matrixPlot" : "ch.psi.pshell.plot.MatrixPlotJFree",
"surfacePlot" : "null",
"timePlot" : "ch.psi.pshell.plot.TimePlotJFree",
"plotsDetached" : false,
"plotLayout" : "Vertical",
"quality" : "High",
"defaultPlotColormap" : "Temperature",
"markerSize" : 2,
"plotBackground" : null,
"gridColor" : null,
"outlineColor" : null,
"disableOffscreenBuffer" : false,
"defaultPanels" : [ {
"deviceClassName" : "Scienta",
"panelClassName" : "ScientaPanel"
}, {
"deviceClassName" : "ch.psi.pshell.epics.Scaler",
"panelClassName" : "ch.psi.pshell.swing.ScalerPanel"
}, {
"deviceClassName" : "ch.psi.pshell.epics.Scienta",
"panelClassName" : "ch.psi.pshell.swing.ScientaPanel"
}, {
"deviceClassName" : "ch.psi.pshell.device.Motor",
"panelClassName" : "ch.psi.pshell.swing.MotorPanel"
}, {
"deviceClassName" : "ch.psi.pshell.device.MasterPositioner",
"panelClassName" : "ch.psi.pshell.swing.MasterPositionerPanel"
}, {
"deviceClassName" : "ch.psi.pshell.device.ProcessVariable",
"panelClassName" : "ch.psi.pshell.swing.ProcessVariablePanel"
}, {
"deviceClassName" : "ch.psi.pshell.device.MotorGroup",
"panelClassName" : "ch.psi.pshell.swing.MotorGroupPanel"
}, {
"deviceClassName" : "ch.psi.pshell.device.DiscretePositioner",
"panelClassName" : "ch.psi.pshell.swing.DiscretePositionerPanel"
}, {
"deviceClassName" : "ch.psi.pshell.device.Camera",
"panelClassName" : "ch.psi.pshell.swing.CameraPanel"
}, {
"deviceClassName" : "ch.psi.pshell.device.Slit",
"panelClassName" : "ch.psi.pshell.swing.SlitPanel"
}, {
"deviceClassName" : "ch.psi.pshell.device.HistogramGenerator",
"panelClassName" : "ch.psi.pshell.swing.HistogramGeneratorPanel"
}, {
"deviceClassName" : "ch.psi.pshell.device.ReadonlyRegister$ReadonlyRegisterArray",
"panelClassName" : "ch.psi.pshell.swing.DeviceValueChart"
}, {
"deviceClassName" : "ch.psi.pshell.device.ReadonlyRegister$ReadonlyRegisterMatrix",
"panelClassName" : "ch.psi.pshell.swing.DeviceValueChart"
} ],
"scriptPopupDialog" : "Exception"
}

View File

@@ -1,23 +1,25 @@
#Mon Apr 19 13:32:04 CEST 2021
#Tue Jun 14 10:01:48 CEST 2022
scriptPath={home}/script
sessionsPath={outp}/sessions
pluginsPath={home}/plugins
configFileDevices={config}/devices.properties
consoleSessionsPath={sessions}/console
libraryPath={script}; {script}/Lib
contextPath={outp}/context
configFilePlugins={config}/plugins.properties
xscanPath={script}
queuePath={script}/queues
extensionsPath={home}/extensions
configPath={home}/config
configFileSessions={config}/sessions.properties
userSessionsPath={sessions}/user
dataPath={outp}/data
devicesPath={home}/devices
configFileVariables={config}/variables.properties
configFileSettings={config}/settings.properties
wwwPath={home}/www
logPath={outp}/log
imagesPath={outp}/images
configFile={config}/config.properties
scriptType=py
configFileTasks={config}/tasks.properties
pluginsPath={home}/plugins
consoleSessionsPath={sessions}/console
libraryPath={script}; {script}/Lib
contextPath={outp}/context
configFilePlugins={config}/plugins.properties
devicesPath={home}/devices
configFileSettings={config}/settings.properties
imagesPath={outp}/images
scriptType=py

View File

@@ -1,4 +1,4 @@
#Tue Apr 12 13:18:32 CEST 2022
LastRunDate=220412
DaySequentialNumber=1
FileSequentialNumber=278
#Mon Jun 27 14:15:35 CEST 2022
LastRunDate=220627
DaySequentialNumber=6
FileSequentialNumber=365

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=mbar
offset=0.0
precision=12
sign_bit=0
scale=1.0
description=null

View File

@@ -1,10 +1,11 @@
#Tue Dec 07 11:50:14 CET 2021
#Tue Jun 14 10:02:05 CEST 2022
minValue=2.25
unit=
offset=0.0
maxValue=2.25
rotation=false
precision=2
scale=1.0
resolution=NaN
minValue=2.25
unit=
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,10 +1,11 @@
#Fri Nov 12 15:40:11 CET 2021
#Tue Jun 14 10:02:05 CEST 2022
minValue=0.0
unit=eV
offset=0.0
maxValue=350.0
rotation=false
precision=3
scale=1.0
resolution=0.01
minValue=0.0
unit=eV
sign_bit=0
scale=1.0
description=null
resolution=0.02

View File

@@ -1,10 +1,11 @@
#Tue Dec 07 21:38:48 CET 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=um
minValue=0.0
offset=0.0
maxValue=200.0
precision=1
rotation=false
scale=1.0
resolution=NaN
unit=um
minValue=0.0
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Tue Dec 07 13:44:36 CET 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=mm
minValue=NaN
offset=0.0
@@ -6,4 +6,5 @@ maxValue=NaN
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Tue Dec 07 13:44:36 CET 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=mm
minValue=NaN
offset=0.0
@@ -6,4 +6,5 @@ maxValue=NaN
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=0
offset=0.0
precision=0
sign_bit=0
scale=1.0
description=null

View File

@@ -0,0 +1,10 @@
#Tue Jul 05 16:22:46 CEST 2022
minValue=NaN
unit=eV
offset=0.0
maxValue=NaN
precision=2
sign_bit=0
scale=1.0
description=Top level ID energy setpoint
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 16:46:12 CEST 2021
#Wed May 11 15:02:09 CEST 2022
spatialCalOffsetY=NaN
spatialCalOffsetX=NaN
colormapLogarithmic=false
@@ -6,12 +6,12 @@ scale=1.0
grayscale=false
spatialCalScaleX=NaN
spatialCalScaleY=NaN
colormapMax=NaN
colormapMax=246.928
rescaleOffset=0.0
roiWidth=-1
colormap=Grayscale
invert=false
colormapMin=NaN
colormapMin=0.0
rotation=0.0
rotationCrop=false
rescaleFactor=1.0
@@ -19,7 +19,7 @@ spatialCalUnits=mm
flipVertically=false
roiHeight=-1
flipHorizontally=false
colormapAutomatic=true
colormapAutomatic=false
roiY=0
roiX=0
transpose=false

View File

@@ -1,18 +1,19 @@
#Wed Sep 29 11:32:23 CEST 2021
slave2Positions=-0.3|0.1|0.6
#Tue Jun 14 10:01:51 CEST 2022
slave2Positions=-0.3|0.0|0.1
offset=0.0
maxValue=100.0
slave5Positions=null
rotation=false
precision=4
scale=1.0
description=null
slave4Positions=null
resolution=0.1
mode=LINEAR
minValue=-100.0
unit=deg
slave1Positions=0.2|1.0|1.3
slave3Positions=-0.5|0.0|0.7
slave1Positions=0.2|0.0|1.0
slave3Positions=-0.5|0.0|0.0
sign_bit=0
masterPositions=-1.0|0.0|1.0
masterPositions=-10.0|0.0|10.0
slave6Positions=null

View File

@@ -0,0 +1,19 @@
#Tue Jun 14 10:30:47 CEST 2022
slave2Positions=null
offset=0.0
maxValue=2000.0
slave5Positions=null
rotation=false
precision=-1
scale=1.0
description=null
slave4Positions=null
resolution=NaN
mode=LINEAR
minValue=0.0
unit=eV
slave1Positions=null
slave3Positions=null
sign_bit=0
masterPositions=null
slave6Positions=null

View File

@@ -0,0 +1,10 @@
#Tue Jul 05 16:22:01 CEST 2022
minValue=NaN
unit=eV
offset=0.0
maxValue=NaN
precision=2
sign_bit=0
scale=1.0
description=Top level ID energy setpoint
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Tue Dec 07 16:46:29 CET 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=2.25
unit=2.250
offset=0.0
@@ -7,4 +7,5 @@ rotation=false
precision=2
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,18 +1,19 @@
#Wed Apr 21 09:23:29 CEST 2021
precision=4
scale=1.0
estbilizationDelay=0
resolution=0.1
minValue=-90.0
defaultSpeed=17.0
sign_bit=0
monitorByPosition=false
minSpeed=17.0
#Tue Jun 14 10:01:50 CEST 2022
offset=0.0
maxValue=110.0
precision=4
rotation=false
scale=1.0
description=null
estbilizationDelay=0
maxSpeed=20.0
resolution=0.1
homingType=None
startRetries=1
minValue=-90.0
unit=deg
defaultSpeed=17.0
sign_bit=0
hasEnable=true
monitorByPosition=false
minSpeed=17.0

View File

@@ -1,10 +1,11 @@
#Fri Nov 12 15:14:31 CET 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=0.0
unit=eV
offset=0.0
maxValue=2000.0
rotation=false
precision=-1
scale=1.0
resolution=NaN
minValue=0.0
unit=eV
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -0,0 +1,20 @@
#Tue Jun 14 14:48:48 CEST 2022
spatialCalOffsetY=NaN
invert=false
spatialCalOffsetX=NaN
rotation=0.0
rotationCrop=false
scale=1.0
rescaleFactor=1.0
grayscale=false
spatialCalUnits=mm
flipVertically=false
roiHeight=-1
spatialCalScaleX=NaN
spatialCalScaleY=NaN
flipHorizontally=false
roiY=0
roiX=0
rescaleOffset=0.0
transpose=false
roiWidth=-1

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 11:34:39 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=NaN
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=NaN
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 16:06:28 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=0.0
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=0.0
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 11:34:39 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=NaN
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=NaN
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 10:57:12 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=-2000.0
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=2000.0
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 12:16:20 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=0.0
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=0.0
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -0,0 +1,10 @@
#Tue Jun 14 10:01:50 CEST 2022
minValue=0.0
unit=s
offset=0.0
maxValue=10000.0
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 11:34:39 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=NaN
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=NaN
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 10:57:12 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=-2000.0
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=2000.0
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 11:34:39 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=NaN
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=NaN
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 10:57:12 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=-2000.0
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=2000.0
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,4 +1,4 @@
#Mon Aug 30 10:16:07 CEST 2021
#Tue Jun 14 10:01:50 CEST 2022
minValue=NaN
unit=
offset=0.0
@@ -6,4 +6,5 @@ maxValue=NaN
precision=3
sign_bit=0
scale=1.0
description=null
resolution=NaN

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=mbar
offset=0.0
precision=12
sign_bit=0
scale=1.0
description=null

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=K
offset=0.0
precision=2
sign_bit=0
scale=1.0
description=null

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=K
offset=0.0
precision=2
sign_bit=0
scale=1.0
description=null

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=K
offset=0.0
precision=2
sign_bit=0
scale=1.0
description=null

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:07:51 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=K
offset=0.0
precision=2
sign_bit=0
scale=1.0
description=null

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=K
offset=0.0
precision=2
sign_bit=0
scale=1.0
description=null

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=K
offset=0.0
precision=2
sign_bit=0
scale=1.0
description=null

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=K
offset=0.0
precision=2
sign_bit=0
scale=1.0
description=null

View File

@@ -1,6 +1,7 @@
#Mon Sep 27 17:22:53 CEST 2021
#Tue Jun 14 10:01:51 CEST 2022
unit=K
offset=0.0
precision=2
sign_bit=0
scale=1.0
description=null

View File

@@ -1,18 +1,19 @@
#Wed Apr 21 09:23:36 CEST 2021
precision=4
scale=1.0
estbilizationDelay=0
resolution=0.05
minValue=-95.0
defaultSpeed=2.5
sign_bit=0
monitorByPosition=false
minSpeed=0.5
#Tue Jun 14 10:01:50 CEST 2022
offset=0.0
maxValue=185.0
precision=4
rotation=false
scale=1.0
description=null
estbilizationDelay=0
maxSpeed=5.0
resolution=0.05
homingType=None
startRetries=1
minValue=-95.0
unit=deg
defaultSpeed=2.5
sign_bit=0
hasEnable=true
monitorByPosition=false
minSpeed=0.5

View File

@@ -1,18 +1,19 @@
#Wed Apr 21 09:23:40 CEST 2021
precision=4
scale=1.0
estbilizationDelay=0
resolution=0.1
minValue=-100.0
defaultSpeed=20.0
sign_bit=0
monitorByPosition=false
minSpeed=17.0
#Tue Jun 14 10:01:50 CEST 2022
offset=0.0
maxValue=100.0
precision=4
rotation=false
scale=1.0
description=null
estbilizationDelay=0
maxSpeed=20.0
resolution=0.1
homingType=None
startRetries=1
minValue=-100.0
unit=deg
defaultSpeed=20.0
sign_bit=0
hasEnable=true
monitorByPosition=false
minSpeed=17.0

View File

@@ -0,0 +1,18 @@
#Thu Jun 02 10:50:10 CEST 2022
slave2Positions=null
offset=0.0
maxValue=NaN
slave5Positions=null
rotation=false
precision=-1
scale=1.0
slave4Positions=null
resolution=NaN
mode=LINEAR
minValue=NaN
unit=null
slave1Positions=null
slave3Positions=null
sign_bit=0
masterPositions=null
slave6Positions=null

View File

@@ -1,18 +1,19 @@
#Wed Apr 21 09:23:04 CEST 2021
precision=4
scale=1.0
estbilizationDelay=0
resolution=0.005
minValue=-7.0
defaultSpeed=0.8
sign_bit=0
monitorByPosition=false
minSpeed=0.6
#Tue Jun 14 10:01:50 CEST 2022
offset=0.0
maxValue=7.0
precision=4
rotation=false
scale=1.0
description=null
estbilizationDelay=0
maxSpeed=5.0
resolution=0.005
homingType=None
startRetries=1
minValue=-7.0
unit=mm
defaultSpeed=0.8
sign_bit=0
hasEnable=true
monitorByPosition=false
minSpeed=0.6

View File

@@ -1,18 +1,19 @@
#Wed Apr 21 09:23:10 CEST 2021
precision=4
scale=1.0
estbilizationDelay=0
resolution=0.005
minValue=-6.8896
defaultSpeed=0.8
sign_bit=0
monitorByPosition=false
minSpeed=0.6
#Tue Jun 14 10:01:50 CEST 2022
offset=0.0
maxValue=2.7204000000000006
precision=4
rotation=false
scale=1.0
description=null
estbilizationDelay=0
maxSpeed=5.0
resolution=0.005
homingType=None
startRetries=1
minValue=-6.8896
unit=mm
defaultSpeed=0.8
sign_bit=0
hasEnable=true
monitorByPosition=false
minSpeed=0.6

View File

@@ -1,18 +1,19 @@
#Wed Apr 21 09:23:23 CEST 2021
precision=4
scale=1.0
estbilizationDelay=0
resolution=0.005
minValue=-10.0
defaultSpeed=2.0
sign_bit=0
monitorByPosition=false
minSpeed=0.5
#Tue Jun 14 10:01:50 CEST 2022
offset=0.0
maxValue=600.0
precision=4
rotation=false
scale=1.0
description=null
estbilizationDelay=0
maxSpeed=8.0
resolution=0.005
homingType=None
startRetries=1
minValue=-10.0
unit=mm
defaultSpeed=2.0
sign_bit=0
hasEnable=true
monitorByPosition=false
minSpeed=0.5

Binary file not shown.

View File

@@ -144,7 +144,7 @@
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
<SubComponents>
<Container class="javax.swing.JPanel" name="jPanel4">
<Container class="javax.swing.JPanel" name="panelAnalyser">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
<JTabbedPaneConstraints tabName="Analyzer">
@@ -179,7 +179,7 @@
<Component id="panelEnergy" linkSize="17" alignment="0" max="32767" attributes="0"/>
<Component id="jPanel10" linkSize="17" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="147" max="32767" attributes="0"/>
<EmptySpace pref="191" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -200,24 +200,26 @@
<Group type="102" attributes="0">
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jLabel14" linkSize="7" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel12" linkSize="7" alignment="1" min="-2" max="-2" attributes="0"/>
<Component id="jLabel13" linkSize="7" alignment="1" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="textLowEnergy" pref="78" max="32767" attributes="0"/>
<Component id="textCenterEnergy" pref="78" max="32767" attributes="0"/>
<Component id="textHighEnergy" pref="78" max="32767" attributes="0"/>
</Group>
</Group>
<Group type="102" alignment="1" attributes="0">
<Component id="jLabel15" linkSize="7" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="textStepEnergy" pref="78" max="32767" attributes="0"/>
<Group type="103" alignment="0" groupAlignment="0" attributes="0">
<Component id="jLabel14" linkSize="7" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel12" linkSize="7" alignment="1" min="-2" max="-2" attributes="0"/>
<Component id="jLabel13" linkSize="7" alignment="1" min="-2" max="-2" attributes="0"/>
</Group>
<Component id="jLabel15" linkSize="7" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="textStepEnergy" alignment="0" pref="54" max="32767" attributes="0"/>
<Component id="textHighEnergy" alignment="0" pref="54" max="32767" attributes="0"/>
<Component id="textCenterEnergy" alignment="0" pref="54" max="32767" attributes="0"/>
<Component id="textLowEnergy" alignment="0" pref="54" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="deviceValuePanel1" pref="0" max="32767" attributes="0"/>
<Component id="deviceValuePanel2" pref="0" max="32767" attributes="0"/>
<Component id="deviceValuePanel3" pref="41" max="32767" attributes="0"/>
<Component id="deviceValuePanel4" pref="0" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
</Group>
@@ -229,24 +231,28 @@
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel12" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textLowEnergy" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textLowEnergy" linkSize="18" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel1" linkSize="18" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel13" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textCenterEnergy" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textCenterEnergy" linkSize="18" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel2" linkSize="18" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="deviceValuePanel3" linkSize="18" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textHighEnergy" linkSize="18" alignment="2" min="-2" pref="19" max="-2" attributes="0"/>
<Component id="jLabel14" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textHighEnergy" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel15" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textStepEnergy" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textStepEnergy" linkSize="18" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel4" linkSize="18" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="38" max="32767" attributes="0"/>
<EmptySpace pref="92" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -296,6 +302,38 @@
<Property name="name" type="java.lang.String" value="scienta.energyStepSize" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel1">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[60, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.lowEnergy.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel2">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[60, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.centerEnergy.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel3">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[60, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.highEnergy.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel4">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[60, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.energyStepSize.readback" noResource="true"/>
</Properties>
</Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="panelY">
@@ -313,24 +351,26 @@
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jLabel17" linkSize="8" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel19" linkSize="8" alignment="1" min="-2" max="-2" attributes="0"/>
<Component id="jLabel18" linkSize="8" alignment="1" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="textLowThetaY" pref="78" max="32767" attributes="0"/>
<Component id="textCenterThetaY" pref="78" max="32767" attributes="0"/>
<Component id="textHighThetaY" pref="78" max="32767" attributes="0"/>
</Group>
</Group>
<Group type="102" alignment="1" attributes="0">
<Component id="jLabel20" linkSize="8" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="textStepThetaY" pref="78" max="32767" attributes="0"/>
<Group type="103" alignment="0" groupAlignment="0" attributes="0">
<Component id="jLabel17" linkSize="8" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel19" linkSize="8" alignment="1" min="-2" max="-2" attributes="0"/>
<Component id="jLabel18" linkSize="8" alignment="1" min="-2" max="-2" attributes="0"/>
</Group>
<Component id="jLabel20" linkSize="8" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="textLowThetaY" alignment="0" pref="0" max="32767" attributes="0"/>
<Component id="textCenterThetaY" alignment="0" pref="0" max="32767" attributes="0"/>
<Component id="textHighThetaY" alignment="0" pref="0" max="32767" attributes="0"/>
<Component id="textStepThetaY" alignment="0" pref="53" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="deviceValuePanel6" pref="0" max="32767" attributes="0"/>
<Component id="deviceValuePanel7" alignment="1" pref="0" max="32767" attributes="0"/>
<Component id="deviceValuePanel8" alignment="1" pref="0" max="32767" attributes="0"/>
<Component id="deviceValuePanel9" alignment="1" pref="42" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
</Group>
@@ -341,25 +381,29 @@
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="textLowThetaY" linkSize="20" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="jLabel19" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textLowThetaY" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel7" linkSize="20" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="textCenterThetaY" linkSize="20" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="jLabel18" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textCenterThetaY" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel8" linkSize="20" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel17" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textHighThetaY" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textHighThetaY" linkSize="20" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel9" linkSize="20" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel20" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textStepThetaY" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textStepThetaY" linkSize="20" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel6" linkSize="20" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="38" max="32767" attributes="0"/>
<EmptySpace pref="92" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -409,6 +453,38 @@
<Property name="name" type="java.lang.String" value="scienta.thetaYStepSize" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel6">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[60, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.thetaYStepSize.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel7">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[60, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.lowThetaY.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel8">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[60, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.centerThetaY.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel9">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[60, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.highThetaY.readback" noResource="true"/>
</Properties>
</Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="panelX">
@@ -427,7 +503,9 @@
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="jLabel26" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="textCenterThetaX" pref="78" max="32767" attributes="0"/>
<Component id="textCenterThetaX" pref="55" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel5" pref="40" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
</Group>
</Group>
@@ -438,7 +516,8 @@
<EmptySpace min="-2" pref="36" max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel26" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textCenterThetaX" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textCenterThetaX" linkSize="19" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel5" linkSize="19" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="143" max="32767" attributes="0"/>
</Group>
@@ -457,6 +536,14 @@
<Property name="name" type="java.lang.String" value="scienta.centerThetaX" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel5">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[60, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.centerThetaX.readback" noResource="true"/>
</Properties>
</Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="jPanel10">
@@ -481,12 +568,19 @@
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="comboLens" alignment="0" pref="146" max="32767" attributes="0"/>
<Component id="comboEnergy" alignment="0" pref="146" max="32767" attributes="0"/>
<Component id="comboAcquisition" alignment="0" pref="146" max="32767" attributes="0"/>
<Component id="comboPass" alignment="0" pref="146" max="32767" attributes="0"/>
<Component id="comboLens" alignment="0" pref="136" max="32767" attributes="0"/>
<Component id="comboEnergy" alignment="0" pref="136" max="32767" attributes="0"/>
<Component id="comboAcquisition" alignment="0" pref="136" max="32767" attributes="0"/>
<Component id="comboPass" alignment="0" pref="136" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="deviceValuePanel10" pref="0" max="32767" attributes="0"/>
<Component id="deviceValuePanel11" pref="0" max="32767" attributes="0"/>
<Component id="deviceValuePanel12" alignment="0" pref="39" max="32767" attributes="0"/>
<Component id="deviceValuePanel13" alignment="0" pref="0" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -496,24 +590,28 @@
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel24" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboPass" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboPass" linkSize="21" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel13" linkSize="21" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel28" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboAcquisition" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboAcquisition" linkSize="22" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel12" linkSize="22" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel29" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboEnergy" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboEnergy" linkSize="23" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel11" linkSize="23" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel30" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboLens" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboLens" linkSize="24" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel10" linkSize="24" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="38" max="32767" attributes="0"/>
<EmptySpace pref="72" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -563,11 +661,43 @@
<Property name="text" type="java.lang.String" value="Acquisition:"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel10">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.lensModeDev.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel11">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.energyModeDev.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel12">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.acquisitionModeDev.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel13">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.passEnergyDev.readback" noResource="true"/>
</Properties>
</Component>
</SubComponents>
</Container>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="jPanel5">
<Container class="javax.swing.JPanel" name="panelDetector">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
<JTabbedPaneConstraints tabName="Detector">
@@ -580,41 +710,50 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="butonPlot" alignment="0" min="-2" max="-2" attributes="0"/>
<Group type="102" alignment="0" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jLabel16" linkSize="11" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel31" linkSize="11" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel9" linkSize="11" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel27" linkSize="11" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel10" linkSize="11" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel25" linkSize="11" alignment="0" min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="jLabel33" min="-2" pref="103" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="jLabel16" linkSize="11" alignment="1" max="32767" attributes="0"/>
<Component id="jLabel31" linkSize="11" alignment="1" max="32767" attributes="0"/>
<Component id="jLabel9" linkSize="11" alignment="1" max="32767" attributes="0"/>
<Component id="jLabel27" linkSize="11" alignment="1" max="32767" attributes="0"/>
<Component id="jLabel25" linkSize="11" alignment="1" max="32767" attributes="0"/>
<Component id="jLabel11" alignment="1" max="32767" attributes="0"/>
<Component id="jLabel32" alignment="1" min="-2" pref="103" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="textChannels" alignment="0" min="-2" pref="68" max="-2" attributes="0"/>
<Group type="102" attributes="0">
<Component id="textYChannelMin" min="-2" pref="68" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="textYChannelMax" min="-2" pref="68" max="-2" attributes="0"/>
</Group>
<Component id="textSlices" min="-2" pref="68" max="-2" attributes="0"/>
<Group type="103" alignment="0" groupAlignment="0" max="-2" attributes="0">
<Group type="102" attributes="0">
<Component id="textXChannelMin" min="-2" pref="68" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="textXChannelMax" min="-2" pref="68" max="-2" attributes="0"/>
</Group>
<Component id="comboDetMode" pref="0" max="32767" attributes="0"/>
<Component id="textExposureDev" alignment="0" pref="0" max="32767" attributes="0"/>
<Component id="textSlices" linkSize="31" min="-2" pref="100" max="-2" attributes="0"/>
<Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0">
<Component id="textMinX" linkSize="31" pref="100" max="32767" attributes="0"/>
<Component id="comboDetMode" linkSize="31" alignment="0" pref="100" max="32767" attributes="0"/>
<Component id="textExposureDev" linkSize="31" alignment="0" pref="100" max="32767" attributes="0"/>
<Component id="textSizeX" linkSize="31" pref="100" max="32767" attributes="0"/>
<Component id="textChannels" linkSize="31" alignment="0" pref="100" max="32767" attributes="0"/>
<Component id="textMinY" linkSize="31" alignment="0" pref="100" max="32767" attributes="0"/>
<Component id="textSizeY" linkSize="31" alignment="0" pref="100" max="32767" attributes="0"/>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="deviceValuePanel21" linkSize="32" alignment="0" min="-2" pref="80" max="-2" attributes="0"/>
<Component id="deviceValuePanel25" linkSize="32" alignment="0" min="-2" pref="80" max="-2" attributes="0"/>
<Component id="deviceValuePanel24" linkSize="32" alignment="0" min="-2" pref="80" max="-2" attributes="0"/>
<Component id="deviceValuePanel18" linkSize="32" alignment="0" min="-2" pref="80" max="-2" attributes="0"/>
<Component id="deviceValuePanel23" linkSize="32" alignment="0" min="-2" pref="80" max="-2" attributes="0"/>
<Component id="deviceValuePanel22" linkSize="32" alignment="0" min="-2" pref="80" max="-2" attributes="0"/>
<Component id="deviceValuePanel15" linkSize="32" alignment="0" min="-2" pref="80" max="-2" attributes="0"/>
<Component id="deviceValuePanel14" linkSize="32" alignment="0" min="-2" pref="80" max="-2" attributes="0"/>
</Group>
</Group>
<Component id="butonPlot" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="32767" attributes="0"/>
<Component id="detectorPlot" pref="542" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="detectorPlot" min="-2" pref="563" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
@@ -622,49 +761,67 @@
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel16" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboDetMode" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="textExposureDev" min="-2" max="-2" attributes="0"/>
<Component id="jLabel31" min="-2" max="-2" attributes="0"/>
<Group type="102" attributes="0">
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel16" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="comboDetMode" linkSize="26" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel14" linkSize="26" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="textExposureDev" linkSize="28" min="-2" max="-2" attributes="0"/>
<Component id="jLabel31" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
<Component id="deviceValuePanel15" linkSize="28" alignment="1" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel9" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textXChannelMax" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textXChannelMin" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textMinX" linkSize="29" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel22" linkSize="29" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel27" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textChannels" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel23" linkSize="29" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textSizeX" linkSize="29" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="jLabel11" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="separate" max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel10" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textYChannelMin" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textYChannelMax" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="jLabel27" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textChannels" linkSize="29" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel18" linkSize="29" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel32" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textMinY" linkSize="27" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel24" linkSize="27" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel33" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textSizeY" linkSize="27" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel25" linkSize="27" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel25" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textSlices" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textSlices" linkSize="27" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="deviceValuePanel21" linkSize="27" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="32767" attributes="0"/>
<EmptySpace min="-2" pref="151" max="-2" attributes="0"/>
<Component id="butonPlot" min="-2" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="1" attributes="0">
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="detectorPlot" pref="301" max="32767" attributes="0"/>
</Group>
<Component id="detectorPlot" alignment="1" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -678,7 +835,8 @@
</Component>
<Component class="javax.swing.JLabel" name="jLabel9">
<Properties>
<Property name="text" type="java.lang.String" value="X Channel Range:"/>
<Property name="horizontalAlignment" type="int" value="11"/>
<Property name="text" type="java.lang.String" value="Min X:"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="jLabel25">
@@ -693,43 +851,6 @@
<Property name="text" type="java.lang.String" value="Channels:"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="textXChannelMin">
<Properties>
<Property name="name" type="java.lang.String" value="x_channel_min" noResource="true"/>
</Properties>
<Events>
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="roiChanged"/>
</Events>
</Component>
<Component class="javax.swing.JTextField" name="textXChannelMax">
<Properties>
<Property name="name" type="java.lang.String" value="x_channel_max" noResource="true"/>
</Properties>
<Events>
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="roiChanged"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="jLabel10">
<Properties>
<Property name="text" type="java.lang.String" value="Y Channel Range:"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="textYChannelMin">
<Properties>
<Property name="name" type="java.lang.String" value="y_channel_min" noResource="true"/>
</Properties>
<Events>
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="roiChanged"/>
</Events>
</Component>
<Component class="javax.swing.JTextField" name="textYChannelMax">
<Properties>
<Property name="name" type="java.lang.String" value="y_channel_max" noResource="true"/>
</Properties>
<Events>
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="roiChanged"/>
</Events>
</Component>
<Component class="ch.psi.pshell.plot.MatrixPlotJFree" name="detectorPlot">
<Properties>
<Property name="legendVisible" type="boolean" value="false"/>
@@ -773,6 +894,108 @@
<Property name="name" type="java.lang.String" value="scienta.exposureDev" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel14">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.detectorModeDev.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel15">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.exposureDev.readback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel18">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.channelsReadback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel21">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.slicesReadback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.RegisterPanel" name="textMinX">
<Properties>
<Property name="name" type="java.lang.String" value="scienta.minX" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel22">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.minXReadback" noResource="true"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="jLabel11">
<Properties>
<Property name="horizontalAlignment" type="int" value="11"/>
<Property name="text" type="java.lang.String" value="Size X:"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.RegisterPanel" name="textSizeX">
<Properties>
<Property name="name" type="java.lang.String" value="scienta.sizeX" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel23">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.sizeXReadback" noResource="true"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="jLabel32">
<Properties>
<Property name="horizontalAlignment" type="int" value="11"/>
<Property name="text" type="java.lang.String" value="Min Y:"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="jLabel33">
<Properties>
<Property name="horizontalAlignment" type="int" value="11"/>
<Property name="text" type="java.lang.String" value="Size Y:"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.RegisterPanel" name="textMinY">
<Properties>
<Property name="name" type="java.lang.String" value="scienta.minY" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel24">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.minYReadback" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.RegisterPanel" name="textSizeY">
<Properties>
<Property name="name" type="java.lang.String" value="scienta.sizeY" noResource="true"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel25">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 32769]"/>
</Property>
<Property name="name" type="java.lang.String" value="scienta.sizeYReadback" noResource="true"/>
</Properties>
</Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="jPanel11">
@@ -790,36 +1013,40 @@
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="151" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jLabel22" linkSize="9" min="-2" max="-2" attributes="0"/>
<Component id="jLabel8" linkSize="9" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel4" linkSize="9" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel1" linkSize="9" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="spinnerPasses" linkSize="3" min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
<Group type="102" attributes="0">
<Component id="jLabel34" linkSize="9" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="textSweeps" linkSize="3" min="-2" pref="80" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jLabel22" linkSize="9" min="-2" max="-2" attributes="0"/>
<Component id="jLabel8" linkSize="9" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel4" linkSize="9" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel1" linkSize="9" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="spinnerPasses" linkSize="3" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="checkCompression" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="checkZigzag" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="spinnerLatency" linkSize="3" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="139" max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="jLabel21" min="-2" max="-2" attributes="0"/>
<Component id="jLabel23" min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jLabel21" linkSize="33" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel23" linkSize="33" alignment="0" min="-2" max="-2" attributes="0"/>
<Component id="jLabel35" linkSize="33" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="comboPol" pref="150" max="32767" attributes="0"/>
<Component id="comboGrating" max="32767" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="comboAnalyserSlit" linkSize="34" alignment="0" min="-2" pref="150" max="-2" attributes="0"/>
<Component id="comboPol" linkSize="34" pref="150" max="32767" attributes="0"/>
<Component id="comboGrating" linkSize="34" max="32767" attributes="0"/>
</Group>
<EmptySpace pref="141" max="32767" attributes="0"/>
</Group>
</Group>
<EmptySpace pref="242" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -861,8 +1088,15 @@
<Group type="103" groupAlignment="3" attributes="0">
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="spinnerPasses" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLabel35" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="comboAnalyserSlit" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="177" max="32767" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Group type="103" groupAlignment="2" attributes="0">
<Component id="jLabel34" alignment="2" min="-2" max="-2" attributes="0"/>
<Component id="textSweeps" alignment="2" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="234" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -944,6 +1178,34 @@
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/>
</AuxValues>
</Component>
<Component class="javax.swing.JLabel" name="jLabel34">
<Properties>
<Property name="horizontalAlignment" type="int" value="11"/>
<Property name="text" type="java.lang.String" value="Sweeps:"/>
</Properties>
</Component>
<Component class="ch.psi.pshell.swing.RegisterPanel" name="textSweeps">
<Properties>
<Property name="name" type="java.lang.String" value="scienta.sweeps" noResource="true"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="jLabel35">
<Properties>
<Property name="horizontalAlignment" type="int" value="11"/>
<Property name="text" type="java.lang.String" value="Analyser Slit:"/>
</Properties>
</Component>
<Component class="javax.swing.JComboBox" name="comboAnalyserSlit">
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="0"/>
</Property>
<Property name="name" type="java.lang.String" value="analyser_slit" noResource="true"/>
</Properties>
<AuxValues>
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="&lt;String&gt;"/>
</AuxValues>
</Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="jPanel6">
@@ -966,7 +1228,7 @@
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<Component id="jScrollPane8" pref="732" max="32767" attributes="0"/>
<Component id="jScrollPane8" pref="836" max="32767" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="buttonEditMaster" min="-2" pref="100" max="-2" attributes="0"/>
</Group>
@@ -980,7 +1242,7 @@
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane8" pref="269" max="32767" attributes="0"/>
<Component id="jScrollPane8" pref="367" max="32767" attributes="0"/>
<Component id="buttonEditMaster" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="13" max="-2" attributes="0"/>
@@ -1059,11 +1321,11 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
<Component id="jScrollPane1" pref="223" max="32767" attributes="0"/>
<Component id="jScrollPane1" pref="265" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane2" pref="266" max="32767" attributes="0"/>
<Component id="jScrollPane2" pref="298" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane3" pref="373" max="32767" attributes="0"/>
<Component id="jScrollPane3" pref="403" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -1072,7 +1334,7 @@
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="14" max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="jScrollPane3" pref="299" max="32767" attributes="0"/>
<Component id="jScrollPane3" pref="397" max="32767" attributes="0"/>
<Component id="jScrollPane2" alignment="0" pref="0" max="32767" attributes="0"/>
<Component id="jScrollPane1" alignment="0" pref="0" max="32767" attributes="0"/>
</Group>
@@ -1191,13 +1453,13 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
<Component id="jScrollPane4" pref="213" max="32767" attributes="0"/>
<Component id="jScrollPane4" pref="241" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane5" pref="214" max="32767" attributes="0"/>
<Component id="jScrollPane5" pref="239" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane6" pref="213" max="32767" attributes="0"/>
<Component id="jScrollPane6" pref="241" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<Component id="jScrollPane7" pref="216" max="32767" attributes="0"/>
<Component id="jScrollPane7" pref="239" max="32767" attributes="0"/>
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
</Group>
</Group>
@@ -1207,7 +1469,7 @@
<Group type="102" alignment="1" attributes="0">
<EmptySpace min="-2" pref="14" max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="jScrollPane6" alignment="0" pref="299" max="32767" attributes="0"/>
<Component id="jScrollPane6" alignment="0" pref="397" max="32767" attributes="0"/>
<Component id="jScrollPane5" alignment="0" max="32767" attributes="0"/>
<Component id="jScrollPane4" alignment="0" max="32767" attributes="0"/>
<Component id="jScrollPane7" max="32767" attributes="0"/>

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
###################################################################################################
# Deployment specific global definitions - executed after startup.py
###################################################################################################
import ch.psi.pshell.device.Camera as Camera
def get_additional_positioners():
ret = []
@@ -38,6 +38,13 @@ class Energy(PositionerBase):
def getMaxValue(self):
er=get_energy_range()
return er[1] if er is not None else -sys.maxint
def getChannelName(self):
return photon_energy.getChannelName()
def getResolution(self):
return photon_energy.getResolution()
add_device(Energy("energy", None), True)
def get_energy_range():
@@ -90,6 +97,9 @@ class Cff(PositionerBase):
def getMaxValue(self):
return pgm_cff.getMaxValue()
def getChannelName(self):
return pgm_cff.getChannelName()
add_device(Cff("cff", None), True)
@@ -127,6 +137,8 @@ id_mode.setSettlingCondition(IdSettlingCondition())
id_mode.setpoint.blockingWrite=True
grating.setSettlingCondition(GrSettlingCondition())
pgm_cff.setSettlingCondition(CffSettlingCondition())
id_energy.setSettlingCondition(IdSettlingCondition())
id_energy.setpoint.blockingWrite=True
def change_photon_pars(_photon_energy=None, _id_mode=None, _grating=None, _cff=None):
@@ -154,27 +166,33 @@ def change_photon_pars(_photon_energy=None, _id_mode=None, _grating=None, _cff=N
#Set operation mode to “PGM”
oper_mode.move("PGM")
if _id_mode is not None:
#Set polarization mode
print "Setting id_mode="+str(_id_mode)
id_mode.move("OFF")
id_mode.move(_id_mode)
def move_grating(_grating, _photon_energy, _cff):
if _grating is not None:
#Set grating
print "Setting grating="+str(_grating)
grating.move(_grating)
if _photon_energy is not None:
#Set moni energy
print "Setting photon_energy="+str(_photon_energy)
photon_energy.move(_photon_energy)
if _cff is not None:
#Set cff
print "Setting cff="+str(_cff)
pgm_cff.move(_cff)
if _grating is not None:
#Set grating
print "Setting grating="+str(_grating)
grating.move(_grating)
if _photon_energy is not None:
#Set insertion device energy
print "Setting photon_energy="+str(_photon_energy)
photon_energy.move(_photon_energy)
if _cff is not None:
#Set cff
print "Setting cff="+str(_cff)
pgm_cff.move(_cff)
def move_id(_id_mode, _photon_energy):
if _id_mode is not None:
#Set polarization mode
print "Setting id_mode="+str(_id_mode)
id_mode.move("OFF")
id_mode.move(_id_mode)
if _photon_energy is not None:
#Set insertion device energy
print "Setting id_energy="+str(_photon_energy)
id_energy.move(_photon_energy)
ret = parallelize((move_grating,(_grating, _photon_energy, _cff)), (move_id,(_id_mode, _photon_energy)))
finally:
#Return operation mode to original value (e.g. “PGM+ID”)
@@ -308,7 +326,7 @@ def trigger_scienta():
image_id = scienta.currentImageCount
scienta.start()
scienta.waitReady(-1)
scienta.waitNewImage(3000, image_id)
scienta.waitNewImage(10000, image_id)
def dummy_trigger_scienta():
@@ -401,4 +419,45 @@ def calc_acquisition_time(samples=1,exp=None, iter=None, images=None, mode=None,
else:
ret= "%02i:%02i:%02i" % (hours, minutes, time_s)
return ret
def get_device_channel(dev):
dev = string_to_obj(dev)
if "getChannelName" in dir(dev):
return dev.getChannelName()
return None
def set_device_channel_names(scan, sensors=None, snaps=None, diags=None, monitors=None):
layout=get_context().dataManager.layout
if sensors is not None:
for dev in sensors:
channel=get_device_channel(dev)
if channel:
try:
set_attribute(layout.getScanPath(scan)+string_to_obj(dev).alias, "channel", channel)
except:
pass
if snaps is not None:
for dev in snaps:
channel=get_device_channel(dev)
if channel:
try:
set_attribute(layout.getSnapPathName(scan, dev), "channel", channel)
except:
pass
if diags is not None:
for dev in diags:
channel=get_device_channel(dev)
if channel:
try:
set_attribute(layout.getDiagPathName(scan, dev), "channel", channel)
except:
pass
if monitors is not None:
for dev in monitors:
channel=get_device_channel(dev)
if channel:
try:
set_attribute(layout.getMonitorPathName(scan, string_to_obj(dev)), "channel", channel)
except:
pass

0
script/queues/test.que Normal file → Executable file
View File

0
script/queues/test2.que Normal file → Executable file
View File

0
script/queues/test3.que Normal file → Executable file
View File

0
script/queues/test4.que Normal file → Executable file
View File

View File

@@ -0,0 +1,33 @@
{
"PASSES" : 1,
"STOP" : [ ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "20",
"scienta.acquisitionModeDev" : "Fixed",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "Transmission",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.slices" : 512,
"scienta.channels" : 512,
"scienta.exposureDev" : 3.0,
"scienta.minX" : 100,
"scienta.sizeX" : 800,
"scienta.minY" : 50,
"scienta.sizeY" : 750,
"scienta.sweeps" : 1
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ ],
"POSITIONERS" : [ ],
"STEPS" : [ ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

36
script/scans/test/nick.json Normal file → Executable file
View File

@@ -1,29 +1,37 @@
{
"PASSES" : 1,
"STOP" : [ 5.0 ],
"STOP" : [ ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "5",
"scienta.acquisitionModeDev" : "Fixed",
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Sweep ThetaY",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "A30_01",
"scienta.lensModeDev" : "DA30L_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 20.3,
"scienta.centerEnergy" : 20.25,
"scienta.highEnergy" : 20.5,
"scienta.energyStepSize" : 0.001,
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.lowThetaY" : -10.0,
"scienta.centerThetaY" : 0.0,
"scienta.highThetaY" : 10.0,
"scienta.thetaYStepSize" : 0.5,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 601,
"scienta.channels" : 801
"scienta.slices" : 750,
"scienta.channels" : 800,
"scienta.exposureDev" : 1.0,
"scienta.minX" : 100,
"scienta.sizeX" : 800,
"scienta.minY" : 50,
"scienta.sizeY" : 750
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ -5.0 ],
"RANGE" : [ 900, 100, 800, 200 ],
"POSITIONERS" : [ "tilt" ],
"STEPS" : [ 10 ],
"START" : [ ],
"POSITIONERS" : [ ],
"STEPS" : [ ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

0
script/scans/test/nick2d.json Normal file → Executable file
View File

21
script/scans/test/scan1.json Normal file → Executable file
View File

@@ -2,14 +2,31 @@
"PASSES" : 1,
"STOP" : [ ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : { },
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "20",
"scienta.acquisitionModeDev" : "Fixed",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "A14_08",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 10.0,
"scienta.centerEnergy" : 21.0,
"scienta.highEnergy" : 15.0,
"scienta.energyStepSize" : 0.01,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 512,
"scienta.channels" : 600,
"scienta.exposureDev" : 0.2,
"scienta.minX" : 100,
"scienta.sizeX" : 600,
"scienta.minY" : 0,
"scienta.sizeY" : 600
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ ],
"RANGE" : [ null, null, null, null ],
"POSITIONERS" : [ ],
"STEPS" : [ ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]

0
script/scans/test/scan2.json Normal file → Executable file
View File

0
script/scans/test/scan3.json Normal file → Executable file
View File

0
script/scans/test/scan4.json Normal file → Executable file
View File

20
script/scans/test/scan5.json Normal file → Executable file
View File

@@ -4,7 +4,24 @@
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"id_mode" : "CIRC+",
"grating" : "G2 1200"
"grating" : "G2 1200",
"scienta.passEnergyDev" : "20",
"scienta.acquisitionModeDev" : "Fixed",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "Transmission",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.slices" : 512,
"scienta.channels" : 512,
"scienta.exposureDev" : 3.0,
"scienta.minX" : 100,
"scienta.sizeX" : 800,
"scienta.minY" : 50,
"scienta.sizeY" : 750,
"scienta.sweeps" : 1.0
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
@@ -12,7 +29,6 @@
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ 21.0 ],
"RANGE" : [ null, null, null, null ],
"POSITIONERS" : [ "energy" ],
"STEPS" : [ 9 ],
"SNAPS" : [ "acmi", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]

0
script/scans/test/scan6.json Normal file → Executable file
View File

0
script/scans/test/scan7.json Normal file → Executable file
View File

25
script/scans/test/test.json Normal file → Executable file
View File

@@ -4,24 +4,33 @@
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Fixed",
"scienta.acquisitionModeDev" : "Sweep ThetaY",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "Transmission",
"scienta.lensModeDev" : "DA30_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 10.0,
"scienta.centerEnergy" : 19.5,
"scienta.highEnergy" : 150.0,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 15.0,
"scienta.energyStepSize" : 0.01,
"scienta.slices" : 601,
"scienta.channels" : 801
"scienta.lowThetaY" : -10.0,
"scienta.centerThetaY" : 0.0,
"scienta.highThetaY" : 10.0,
"scienta.thetaYStepSize" : 0.5,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 851,
"scienta.channels" : 801,
"scienta.exposureDev" : 1.0,
"scienta.minX" : 100,
"scienta.sizeX" : 900,
"scienta.minY" : 50,
"scienta.sizeY" : 900
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ 0.0 ],
"RANGE" : [ null, null, null, null ],
"START" : [ -1.0 ],
"POSITIONERS" : [ "x" ],
"STEPS" : [ 4 ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]

0
script/scans/test/test1.json Normal file → Executable file
View File

0
script/scans/test/test2.json Normal file → Executable file
View File

0
script/scans/test/test3.json Normal file → Executable file
View File

View File

@@ -0,0 +1,38 @@
{
"PASSES" : 1,
"STOP" : [ ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Sweep ThetaY",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "DA30_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.lowThetaY" : -10.0,
"scienta.centerThetaY" : 0.0,
"scienta.highThetaY" : 10.0,
"scienta.thetaYStepSize" : 0.5,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 350,
"scienta.channels" : 300,
"scienta.exposureDev" : 0.01,
"scienta.minX" : 100,
"scienta.sizeX" : 900,
"scienta.minY" : 350,
"scienta.sizeY" : 900,
"scienta.sweeps" : 1
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ ],
"POSITIONERS" : [ ],
"STEPS" : [ ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

View File

@@ -0,0 +1,33 @@
{
"PASSES" : 1,
"STOP" : [ ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "20",
"scienta.acquisitionModeDev" : "Fixed",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "Transmission",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.slices" : 512,
"scienta.channels" : 512,
"scienta.exposureDev" : 3.0,
"scienta.minX" : 100,
"scienta.sizeX" : 800,
"scienta.minY" : 50,
"scienta.sizeY" : 750,
"scienta.sweeps" : 1
},
"COMPRESSION" : true,
"SENSORS" : [ "current" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ ],
"START" : [ ],
"POSITIONERS" : [ ],
"STEPS" : [ ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

0
script/scans/test/test_nick.json Normal file → Executable file
View File

0
script/scans/test/test_nick_2.json Normal file → Executable file
View File

View File

@@ -0,0 +1,37 @@
{
"PASSES" : 1,
"STOP" : [ ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Sweep Energy",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "DA30_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.lowThetaY" : -10.0,
"scienta.centerThetaY" : 0.0,
"scienta.highThetaY" : 10.0,
"scienta.thetaYStepSize" : 0.5,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 900,
"scienta.channels" : 800,
"scienta.exposureDev" : 0.1,
"scienta.minX" : 100,
"scienta.sizeX" : 800,
"scienta.minY" : 50,
"scienta.sizeY" : 900
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ ],
"POSITIONERS" : [ ],
"STEPS" : [ ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

View File

@@ -0,0 +1,62 @@
{
"PASSES" : 1,
"STOP" : [ ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z", "energy" ],
"MASTER_AXIS" : {
"CONFIG" : {
"fileName" : "/sls/X09LA/data/X09LA/pshell/home/devices/tilt_correction.properties",
"precision" : -1,
"offset" : 0.0,
"scale" : 1.0,
"unit" : null,
"sign_bit" : 0,
"resolution" : "NaN",
"minValue" : "NaN",
"maxValue" : "NaN",
"rotation" : false,
"mode" : "LINEAR",
"masterPositions" : null,
"slave1Positions" : null,
"slave2Positions" : null,
"slave3Positions" : null,
"slave4Positions" : null,
"slave5Positions" : null,
"slave6Positions" : null
},
"MASTER" : "tilt",
"SLAVES" : [ "y" ],
"NAME" : "tilt_correction"
},
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Sweep Energy",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "DA30_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.lowThetaY" : -10.0,
"scienta.centerThetaY" : 0.0,
"scienta.highThetaY" : 10.0,
"scienta.thetaYStepSize" : 0.5,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 750,
"scienta.channels" : 800,
"scienta.exposureDev" : 0.1,
"scienta.minX" : 100,
"scienta.sizeX" : 800,
"scienta.minY" : 50,
"scienta.sizeY" : 750
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current", "photon_energy", "temp_sample1", "temp_sample2", "acmi" ],
"START" : [ ],
"POSITIONERS" : [ ],
"STEPS" : [ ],
"SNAPS" : [ "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "pgm_cff", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_shield", "scienta.passEnergyDev", "scienta.acquisitionModeDev", "scienta.energyModeDev", "scienta.lensModeDev", "scienta.lowEnergy", "scienta.centerEnergy", "scienta.highEnergy", "scienta.energyStepSize", "scienta.lowThetaY", "scienta.centerThetaY", "scienta.highThetaY", "scienta.thetaYStepSize", "scienta.centerThetaX", "scienta.exposureDev", "scienta.channels", "scienta.slices", "scienta.minX", "scienta.sizeX", "scienta.minY", "scienta.sizeY", "scienta.detectorModeDev" ]
}

View File

@@ -0,0 +1,37 @@
{
"PASSES" : 1,
"STOP" : [ ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"id_mode" : "LH",
"grating" : "G2 1200",
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Fixed",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "A30_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 350,
"scienta.channels" : 300,
"scienta.exposureDev" : 1.0,
"scienta.minX" : 100,
"scienta.sizeX" : 900,
"scienta.minY" : 350,
"scienta.sizeY" : 900,
"scienta.sweeps" : 1,
"energy" : 300.0
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ ],
"POSITIONERS" : [ ],
"STEPS" : [ ],
"SNAPS" : [ "scienta.lensModeDev", "scienta.passEnergyDev", "scienta.energyModeDev", "scienta.exposureDev", "scienta.sweeps", "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

View File

@@ -0,0 +1,37 @@
{
"PASSES" : 1,
"STOP" : [ ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Sweep ThetaY",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "DA30_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 10.0,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 15.0,
"scienta.energyStepSize" : 0.01,
"scienta.lowThetaY" : -10.0,
"scienta.centerThetaY" : 0.0,
"scienta.highThetaY" : 10.0,
"scienta.thetaYStepSize" : 0.5,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 851,
"scienta.channels" : 801,
"scienta.exposureDev" : 1.0,
"scienta.minX" : 100,
"scienta.sizeX" : 900,
"scienta.minY" : 50,
"scienta.sizeY" : 900
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ ],
"POSITIONERS" : [ ],
"STEPS" : [ ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

View File

@@ -0,0 +1,35 @@
{
"PASSES" : 1,
"STOP" : [ 2.0 ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Sweep ThetaY",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "DA30_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.lowThetaY" : -10.0,
"scienta.centerThetaY" : 0.0,
"scienta.highThetaY" : 10.0,
"scienta.thetaYStepSize" : 0.5,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 350,
"scienta.channels" : 300,
"scienta.exposureDev" : 0.01,
"scienta.minY" : 350,
"scienta.sweeps" : 1
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ 0.0 ],
"POSITIONERS" : [ "x" ],
"STEPS" : [ 2 ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

View File

@@ -0,0 +1,37 @@
{
"PASSES" : 1,
"STOP" : [ 10.0 ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Fixed",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "DA30_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 18.8,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 19.2,
"scienta.energyStepSize" : 0.01,
"scienta.lowThetaY" : -10.0,
"scienta.centerThetaY" : 0.0,
"scienta.highThetaY" : 10.0,
"scienta.thetaYStepSize" : 0.5,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 900,
"scienta.channels" : 800,
"scienta.exposureDev" : 0.1,
"scienta.minX" : 100,
"scienta.sizeX" : 800,
"scienta.minY" : 50,
"scienta.sizeY" : 900
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ -10.0 ],
"POSITIONERS" : [ "tilt" ],
"STEPS" : [ 20 ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

View File

@@ -0,0 +1,37 @@
{
"PASSES" : 1,
"STOP" : [ 10.0 ],
"DIAGS" : [ "phi", "theta", "tilt", "x", "y", "z" ],
"PRE_ACTIONS" : {
"scienta.passEnergyDev" : "10",
"scienta.acquisitionModeDev" : "Fixed",
"scienta.energyModeDev" : "Kinetic",
"scienta.lensModeDev" : "DA30_01",
"scienta.detectorModeDev" : "ADC",
"scienta.lowEnergy" : 10.0,
"scienta.centerEnergy" : 19.0,
"scienta.highEnergy" : 15.0,
"scienta.energyStepSize" : 0.01,
"scienta.lowThetaY" : -10.0,
"scienta.centerThetaY" : 0.0,
"scienta.highThetaY" : 10.0,
"scienta.thetaYStepSize" : 0.5,
"scienta.centerThetaX" : 0.0,
"scienta.slices" : 851,
"scienta.channels" : 801,
"scienta.exposureDev" : 0.0,
"scienta.minX" : 100,
"scienta.sizeX" : 600,
"scienta.minY" : 50,
"scienta.sizeY" : 950
},
"COMPRESSION" : true,
"SENSORS" : [ "scienta.dataMatrix" ],
"ZIGZAG" : false,
"SETTLING_TIME" : 0.0,
"MONITORS" : [ "current" ],
"START" : [ -10.0 ],
"POSITIONERS" : [ "tilt" ],
"STEPS" : [ 20 ],
"SNAPS" : [ "acmi", "cff", "energy", "exit_slit", "fe_horiz_width", "fe_vert_width", "helium_valve", "master", "pgm_cff", "photon_energy", "tcmp", "temp_boot1", "temp_boot2", "temp_cryopump", "temp_cryostat", "temp_headmech", "temp_sample1", "temp_sample2", "temp_shield" ]
}

0
script/templates/EnergyScan.py Normal file → Executable file
View File

9
script/templates/Reload.py Executable file
View File

@@ -0,0 +1,9 @@
datafile = args[0]
config = load_data(datafile+"|scripts/config.json")
config_file = get_attributes(datafile+"|scripts")["config"]
with open(config_file, 'w') as f:
f.write(config)
App.getInstance().getMainFrame().openScriptOrProcessor(config_file)

View File

@@ -26,6 +26,10 @@ def load_parameters(name):
for key in config.keys():
globals()[key] = config[key]
print str(key), " = ", config[key]
with open(filename) as config_file:
save_dataset("scripts/config.json", config_file.read(), type = 's')
set_attribute("scripts", "config", filename)
if NAME:
load_parameters(NAME)
@@ -41,6 +45,8 @@ latency = SETTLING_TIME
passes = int(PASSES)
zigzag = bool(ZIGZAG)
#Setuop Scienta
scienta.setGrabMode(Camera.GrabMode.Single)
#Change photon parameters
_id_mode=_grating=None
@@ -75,33 +81,48 @@ if COMPRESSION:
def before_read(pos, scan):
trigger_scienta()
if scienta.dataMatrix in sensors:
trigger_scienta()
data_3d = (scienta.dataMatrix in sensors) and (str(scienta.getAcquisitionMode())=="Swept_Energy_ThetaY")
data_3d = (scienta.dataMatrix in sensors) and ("thetay" in scienta.acquisitionMode.lower())
if data_3d:
print "3D dataset"
def after_read(rec, scan):
global data_3d
#handle_diagnostics(rec)
#data_3d = (scienta.dataMatrix in sensors) and (scienta.arraySize2.read()>1)
if data_3d:
try:
path = get_exec_pars().scanPath + ("/3d_images/%04d" % rec.index)
data = scienta.takeStack()
save_dataset(path, data)
#path = get_exec_pars().scanPath + ("/3d_images/%04d" % rec.index)
#data = scienta.takeStack()
#save_dataset(path, data)
path = get_exec_pars().scanPath + "/images"
if rec.index==0:
size=scienta.getImageSize()
if len(size)<3:
raise Exception("Data is not 3D")
num_images = scan.getNumberOfRecords() * size[2]
create_dataset(path, scienta.dataArray, None, (num_images, size[1], size[0]), {"layout":"contiguous", "compression":True})
for img in scienta.takeStack():
append_dataset(path, img)
except:
log(sys.exc_info()[1])
try:
if len(positioners)==0:
ret= tscan (sensors, 1,0, passes=passes, \
before_read=before_read, after_read=after_read, \
snaps=SNAPS, diags=DIAGS, monitors=MONITORS, keep=True)
save_dataset("/image", ret[scienta.dataMatrix][0], type = 'i', features={"compression":True})
snaps=SNAPS, diags=DIAGS, monitors=MONITORS, keep=True)
#if (scienta.dataMatrix in sensors) and not data_3d:
# save_dataset("/image", ret[scienta.dataMatrix][0], type = 'i', features={"compression":True})
else:
ret= ascan (positioners, sensors, start, end, steps, \
latency= latency, relative=False, passes=passes, zigzag=zigzag, \
before_read=before_read, after_read=after_read, \
snaps=SNAPS, diags=DIAGS, monitors=MONITORS)
set_device_channel_names(ret.scan, sensors, SNAPS, DIAGS, MONITORS )
finally:
scienta.stop()
scienta.zeroSupplies()
print ret

15
script/test/PlotImage.py Executable file
View File

@@ -0,0 +1,15 @@
sensor = scienta.getSensorSize()
roi = scienta.getROI()
data = scienta.getDataMatrix().take()
a=Convert.toDouble(data);
scaleX = roi[2] / len(a[0])
scaleY = roi[3] / len(a)
arr = [[0.0] * sensor[1]] *sensor[0]
for i in range(len(a)):
for j in range (len(a[0])):
arr[int(scaleY * i) + roi[1]][int(scaleX * j) + roi[0]] = a[i][j]
p=plot(arr)

0
script/test/TestLensMode.py Normal file → Executable file
View File

0
script/test/TestScan.py Normal file → Executable file
View File

1
script/test/test.py Executable file
View File

@@ -0,0 +1 @@
test

13
script/test/x.xml Executable file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration xmlns="http://www.psi.ch/~ebner/models/scan/1.0">
<data/>
<scan>
<dimension>
<positioner xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PseudoPositioner" id="POS">
<counts>10</counts>
</positioner>
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Timestamp" id="DET"/>
</dimension>
</scan>
<visualization xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="LinePlot" x="POS" y="DET"/>
</configuration>