Page tree

Setup

Setup on detector-PC

Setup RAMdisk

finished it should look like this (mounted drive T:):

Get hidra


Configure

  • adjust hidra config file, e.g for beamline p00

    conf/datamanager_p00.conf
    general:
        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

  • No labels