51
The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering, O. Hensler, E. Sombrowski, S. Herb and other people from MCS 1 and MCS 4

The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

The File Catalog System at FLASH:a tutorial

Jürgen Maass (MCS4) and Pedro Castro (MPY)

in collaboration with:K. Rehlich, R. Kammering, O. Hensler, E. Sombrowski, S. Herband other people from MCS 1 and MCS 4

Page 2: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Catalogof filesSaveRestore Sequencer

Scale Magnetswith Energy

Print MainParameters (special for FLASH)

Page 3: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Catalogof filesSaveRestore Sequencer

Scale Magnetswith Energy

old “Save & Restore”directory files

Print MainParameters (special for FLASH)

old matlab “print_status.m”

Page 4: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Catalogof filesSaveRestore Sequencer

Scale Magnetswith Energy

old “Save & Restore”directory files

Print MainParameters (special for FLASH)

old matlab “print_status.m”

1)

Page 5: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

“old” vs “new” Save & Restore tools

versus

Page 6: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

“old” vs “new” Save & Restore tools

versus

new version in Java:

beta version

starts very slow

Page 7: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

To start the programs:

Page 8: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

name actual value reference value

Page 9: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

actual value reference valuename

full address device value file value

Page 10: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

actual value reference valuename

full address device value file value

Extras:

Page 11: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

actual value reference valuename

full address device value file value

Extras:

difference

Page 12: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Extras:facility device location property

Page 13: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Extras:facility device location property

all columns can be sorted

Page 14: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

countersactions

Page 15: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

countersactions

Page 16: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Difference ! Selecting items

select items as in EXCEL:multiple selectionswith “shift” and “control”

select items one by one

Page 17: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Open/Save/Print

“Central file“: is a file repository“CSV“: “comma-separated values” formatnew version can read old Save&Restore format

Page 18: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Difference ! file format

XML formal3-column format

Page 19: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Less used features:insert new address

Page 20: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Less used features: insert new address

Page 21: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

More extras (for magnet power supplies):Set-Points diff.(SP-SP) RBV diff.(SP-RBV)

Page 22: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

More extras (for magnet power supplies):Set-Points diff.(SP-SP) RBV diff.(SP-RBV)

Page 23: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

More extras:

Page 24: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

More extras:

‘write’ flag

Page 25: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

More extras: ‘write’ flag

Page 26: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

‘write’ flag

Page 27: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Catalogof filesSaveRestore Sequencer

Scale Magnetswith Energy

old “Save & Restore”directory files

Print MainParameters (special for FLASH)

old matlab “print_status.m”

2)

Page 28: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) list of files:which one is good?

which wavelength? how much SASE?

for bypass or for SASE?

taken with beam?

or

search in e-logbook(good luck!)

Page 29: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files:

beamlinewavelength how much SASE

Page 30: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: how to search: using the filters

Page 31: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: save a new file + print main parameters

Page 32: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files:

print main parametersonly for FLASH

saves magnetsin Save&Restore files

saves orbit forOrbit Display program

Page 33: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: click on right mouse button

Page 34: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: click on right mouse button

Page 35: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: view file in SaveRestore

systems ‘show’ level

‘write’ flag

Page 36: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: view file in SaveRestore

‘write’ flag

Page 37: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: compare two files

3. click ‘compare’2. click on right mouse button

1. select a file

Page 38: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: compare two files

value from file 1 value from file 2

Page 39: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: scale magnets with energy:

it creates a new file:ONLY with magnets

enter new wavelength

Page 40: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: scale magnets with energy:present RF values

file values your input values

Page 41: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: edit catalog entry:

Page 42: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

File typetemp file: for temporary data or scratch data or data was edited/changed

(beam is off or some systems are off)normal file: there is beam (good transmission)reference file: official file for routine operation

(a coordinator recommends the use of this file)

special file: special settings for machine studies, tests, etc.

optics file: values calculated from optics programs

Page 43: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: remove/recover

to see deleted files

Page 44: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

2) catalog of files: remove/recover to recover this file

Page 45: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Catalogof filesSaveRestore Sequencer

Scale Magnetswith Energy

old “Save & Restore”directory files

Print MainParameters (special for FLASH)

old matlab “print_status.m”

3)

Page 46: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

3) sequencer: list of sequences:

Page 47: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

3) sequencercontrol buttons: start/pause/stop

each step:- will restore ‘something’- will check ‘something’ if ok, go to next step

Page 48: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

3) sequencer: how to see what it does:expert buttons: “list to restore”, “list to check”

Page 49: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

3) sequencer: how to restore a file

1. select a file

2. push button ‘restore’

Page 50: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

3) sequencer: how to restore a filesequence: restore + cycling3. push button ‘start’

Page 51: The File Catalog System at FLASH: a tutorial · The File Catalog System at FLASH: a tutorial Jürgen Maass (MCS4) and Pedro Castro (MPY) in collaboration with: K. Rehlich, R. Kammering,

Thank you for your attention

[email protected]