Setup on detector-PC
Setup RAMdisk
- get Imdisk from https://sourceforge.net/projects/imdisk-toolkit/
- Install it
- Configure ramdisk
finished it should look like this (mounted drive T:):
Get hidra
- login
- use frozen HiDRA version
download HiDRA from http://nims.desy.de/extra/hidra/freeze/windows/
unzip HiDRA into D:
Configure
adjust hidra config file, e.g for beamline p00
conf/datamanager_p00.confgeneral: log_name: datamanager_p00_{date}.log procname: hidra_p00 eventdetector: watchdog_events: monitored_dir: "T:" fix_subdirs: &fix_subdirs - "commissioning/raw" - "commissioning/scratch_bl" - "current/raw" - "current/scratch_bl" - "local" create_fix_subdirs: True datafetcher: use_data_stream: True data_stream_targets: [["asap3-p00", 50100]] remove_data: True
You may think on changing permissions of datamanager_p00.conf to read-only
Alternatively (for version > 4.0:remove_data: stop_on_error
or
remove_data: with_confirmation
configure whitelist
whitelist: ...
Run
- create startup script (e.g. for p00):
starthidra.bat
D:\hidra\datamanager.exe --config_file D:\hidra\conf\datamanager_p00.yaml --verbose --onscreen debug
Remark
For DESY staff: A collection of beamline specific config files can be found here