formatting PixelatorControllerSettings
@@ -11,148 +11,150 @@ The file format is [JSON](http://www.json.org/)
|
||||
Every scan creates a hdf5 file. The directory they are stored in is:
|
||||
_base directory/YYYY-mm-dd/_
|
||||
|
||||
**NeXusBaseDirectory**::
|
||||
- base directory to save scan files
|
||||
**NeXusBaseDirectory**::<BR>
|
||||
 base directory to save scan files
|
||||
|
||||
**NeXusLocalBaseDirectory**::<BR>
|
||||
base directory used when '''Save local''' is active
|
||||
**NeXusLocalBaseDirectory**::<BR>
|
||||
 base directory used when **Save local** is active
|
||||
|
||||
**defaultSaveLocal**::<BR>
|
||||
Save local setting on startup. <BR>
|
||||
"yes": use '''NeXusLocalBaseDirectory''' directory <BR>
|
||||
anything else: use '''NeXusBaseDirectory''' directory
|
||||
**defaultSaveLocal**::<BR>
|
||||
 Save local setting on startup. <BR>
|
||||
 "yes": use **NeXusLocalBaseDirectory** directory <BR>
|
||||
 anything else: use **NeXusBaseDirectory** directory
|
||||
|
||||
Depending on the scan type, the files are archived or not.
|
||||
The archived ones are put in that date directory.
|
||||
The others in a discard sub directory of the date directory.
|
||||
|
||||
NeXusDiscardSubDirectory::
|
||||
sub directory for files not archived
|
||||
**NeXusDiscardSubDirectory**::<BR>
|
||||
 sub directory for files not archived
|
||||
|
||||
The '''''ScanType''_Archive_Default''' options define a default archive flag for each scan type.
|
||||
They are used when '''''ScanType''_Archive''' is missing.
|
||||
The **ScanType_Archive_Default** options define a default archive flag for each scan type.
|
||||
They are used when **ScanType_Archive** is missing.
|
||||
|
||||
Sample_Archive_Default::
|
||||
Focus_Archive_Default::
|
||||
OSA_Archive_Default::
|
||||
OSA Focus_Archive_Default::
|
||||
Detector_Archive_Default::
|
||||
Motor_Archive_Default::
|
||||
Motor2D_Archive_Default::
|
||||
"yes": files are archived \\
|
||||
"no": files are put in the discard sub directory \\
|
||||
"locked": as yes, but users cannot toggle the archive flag for this scan type \\
|
||||
'''Default''': "locked"
|
||||
**Sample_Archive_Default**::<BR>
|
||||
**Focus_Archive_Default**::<BR>
|
||||
**OSA_Archive_Default**::<BR>
|
||||
**OSA Focus_Archive_Default**::<BR>
|
||||
**Detector_Archive_Default**::<BR>
|
||||
**Motor_Archive_Default**::<BR>
|
||||
**Motor2D_Archive_Default**::<BR>
|
||||
 "yes": files are archived <BR>
|
||||
 "no": files are put in the discard sub directory <BR>
|
||||
 "locked": as yes, but users cannot toggle the archive flag for this scan type <BR>
|
||||
 **Default**: "locked"
|
||||
|
||||
Users can toggle the archive flag for a scan type (unless locked).
|
||||
When they do so, '''''ScanType''_Archive''' is added or updated.
|
||||
When they do so, **ScanType_Archive** is added or updated.
|
||||
|
||||
Sample_Archive::
|
||||
Focus_Archive::
|
||||
OSA_Archive::
|
||||
OSA Focus_Archive::
|
||||
Detector_Archive::
|
||||
Motor_Archive::
|
||||
Motor2D_Archive::
|
||||
"yes": files are archived \\
|
||||
"no": files are put in the discard sub directory \\
|
||||
'''Default''': '''''ScanType''_Archive_Default'''
|
||||
Sample_Archive::<BR>
|
||||
Focus_Archive::<BR>
|
||||
OSA_Archive::<BR>
|
||||
OSA Focus_Archive::<BR>
|
||||
Detector_Archive::<BR>
|
||||
Motor_Archive::<BR>
|
||||
Motor2D_Archive::<BR>
|
||||
 "yes": files are archived <BR>
|
||||
 "no": files are put in the discard sub directory <BR>
|
||||
 **Default**: **ScanType_Archive_Default**
|
||||
|
||||
### Scan Files
|
||||
The name of the file is:
|
||||
''ScanType''_''YYYY-mm-dd''_''ScanNumber''.hdf5
|
||||
_ScanType_YYYY-mm-dd_ScanNumber_.hdf5
|
||||
|
||||
For Sample scans, the spatial type
|
||||
- _Point
|
||||
- _Line
|
||||
- _Image
|
||||
- _Stack
|
||||
is added after ''ScanType''.
|
||||
- _Point_
|
||||
- _Line_
|
||||
- _Image_
|
||||
- _Stack_
|
||||
|
||||
is added after _ScanType_.
|
||||
|
||||
ScanNumber is a three digit number, starting with 001 every day.
|
||||
|
||||
NeXusScanNumber::
|
||||
ScanNumber counter \\
|
||||
Updated every time a new scan file is created (beginning of the scan). \\
|
||||
'''Default''': 0
|
||||
**NeXusScanNumber**::<BR>
|
||||
 ScanNumber counter<BR>
|
||||
 Updated every time a new scan file is created (beginning of the scan).<BR>
|
||||
 **Default**: 0
|
||||
|
||||
compression::
|
||||
"LZW": Use LZW compression in hdf5 file \\
|
||||
"NONE": No compression \\
|
||||
'''Default''': "NONE"
|
||||
**compression**::<BR>
|
||||
 "LZW": Use LZW compression in hdf5 file<BR>
|
||||
 "NONE": No compression<BR>
|
||||
 **Default**: "NONE"
|
||||
|
||||
beamline::
|
||||
String value that is written into the scan file at ''/entry*/collection/beamline''
|
||||
**beamline**::<BR>
|
||||
 String value that is written into the scan file at _/entry*/collection/beamline_
|
||||
|
||||
### scripts
|
||||
changeUserScript::
|
||||
name of the script that is run on startup and whenever the user is changed \\
|
||||
'''Optional''': no script is run when this setting is missing
|
||||
**changeUserScript**::<BR>
|
||||
 name of the script that is run on startup and whenever the user is changed<BR>
|
||||
 **Optional**: no script is run when this setting is missing
|
||||
|
||||
defaultUsername::
|
||||
username set on startup
|
||||
**defaultUsername**::<BR>
|
||||
 username set on startup
|
||||
|
||||
endOfScanScript::
|
||||
name of the script that is run on the controller at the end of every scan \\
|
||||
'''Optional''': no script is run when this setting is missing
|
||||
**endOfScanScript**::<BR>
|
||||
 name of the script that is run on the controller at the end of every scan<BR>
|
||||
 **Optional**: no script is run when this setting is missing
|
||||
|
||||
### ZeroMQ Ports
|
||||
publisherPort::
|
||||
TCP port used to publish messages
|
||||
**publisherPort**::<BR>
|
||||
 TCP port used to publish messages
|
||||
|
||||
requestPort::
|
||||
TCP port used to listen for requests
|
||||
**requestPort**::<BR>
|
||||
 TCP port used to listen for requests
|
||||
|
||||
### missing data check
|
||||
At the end of a point by point line, some data of asynchronous detectors may be missing.
|
||||
They are read until no more data is missing.
|
||||
|
||||
missingDataCheckInterval::
|
||||
interval (in seconds) at which missing data is read \\
|
||||
'''Default''': 0.1 seconds
|
||||
**missingDataCheckInterval**::<BR>
|
||||
 interval (in seconds) at which missing data is read<BR>
|
||||
 **Default**: 0.1 seconds
|
||||
|
||||
missingDataCheckMaxChecks::
|
||||
maximum number of times missing data is read
|
||||
'''Default''': 5
|
||||
**missingDataCheckMaxChecks**::<BR>
|
||||
 maximum number of times missing data is read<BR>
|
||||
 **Default**: 5
|
||||
|
||||
### settings files names
|
||||
The following settings define the name of additional settings files.
|
||||
Each of these settings files is described in a section below.
|
||||
axisConfigFileName::
|
||||
[#Axis Axis]
|
||||
|
||||
controllerConfigFileName::
|
||||
[#Controller Controller]
|
||||
**axisConfigFileName**::<BR>
|
||||
 [Axis](#Axis)
|
||||
|
||||
detectorConfigFileName::
|
||||
[#Detector Detector]
|
||||
**controllerConfigFileName**::<BR>
|
||||
 [#Controller Controller]
|
||||
|
||||
epicsConfigFileName::
|
||||
[#Epics Epics]
|
||||
**detectorConfigFileName**::<BR>
|
||||
 [Detector](#Detector)
|
||||
|
||||
instrumentConfigFileName::
|
||||
[#Instrument Instrument]
|
||||
**epicsConfigFileName**::<BR>
|
||||
 [Epics](#Epics)
|
||||
|
||||
log4cppPropertiesFileName::
|
||||
[#Log4cppProperties Log4cpp Properties]
|
||||
**instrumentConfigFileName**::<BR>
|
||||
 [Instrument](#Instrument)
|
||||
|
||||
microscopeControlConfigFileName::
|
||||
[#MicroscopeControl Microscope Control]
|
||||
**log4cppPropertiesFileName**::<BR>
|
||||
 [Log4cpp Properties](#Log4cppProperties)
|
||||
|
||||
pixelClockConfigFileName::
|
||||
[#PixelClock Pixel Clock]
|
||||
**microscopeControlConfigFileName**::<BR>
|
||||
 [Microscope Control](#MicroscopeControl)
|
||||
|
||||
polarizationConfigFileName::
|
||||
[#Polarization Polarization]
|
||||
**pixelClockConfigFileName**::<BR>
|
||||
 [Pixel Clock](#PixelClock)
|
||||
|
||||
positionerConfigFileName::
|
||||
[#Positioner Positioner]
|
||||
**polarizationConfigFileName**::<BR>
|
||||
 [Polarization](#Polarization)
|
||||
|
||||
topupConfigFileName::
|
||||
'''Optional''': no topup handling when this setting is missing or the file cannot be read. \\
|
||||
[#Topup Topup]
|
||||
**positionerConfigFileName**::<BR>
|
||||
 [Positioner](#Positioner)
|
||||
|
||||
zonePlateConfigFileName::
|
||||
**topupConfigFileName**::<BR>
|
||||
 '''Optional''': no topup handling when this setting is missing or the file cannot be read. <BR>
|
||||
 [Topup](#Topup)
|
||||
|
||||
**zonePlateConfigFileName**::
|
||||
[#ZonePlate Zone Plate]
|
||||
|
||||
## Axis
|
||||
|
||||
Reference in New Issue
Block a user