Need a tool to generate spec from bliss
Today, at ID31, there is a problem related with configuration of spec.
Each week the configuration changes (motors are added/deleted/replaced, counters are added/replaced, etc).
Enable/disable of items in spec is not enough because depending on the macro developed it may or may not be actually disabled (if cdef, unsetup is not properly managed).
Our idea (me and @alejandro.homs ) is to:
- write all configuration in bliss (.yaml)
- write a tool that reads bliss config and generates spec config, settings and setup + registers proper devices in tango
- every week the experiment changes, the beamline scientist:
- changes a centralized session yaml file with everything it needs
- executes the tool (which rewrites spec config, settings and setup)
- starts spec session from fresh
We should profit from the existing spec configuration tools to help us do that (maybe even integrate SpecConfig into bliss).
We would appreciate the comments from @sebastien.petitdemange and @papillon because probably they have good ideas.
TODO:
-
generate spec config -
generate spec settings -
generate spec setup -
register tango devices -
write plugins for different instruments: -
lima (pilatus, perkinelmer, maxipix, dexela, PCO edge (not yet)) -
undulator -
emotion -
wago -
ct2 (p201) -
keithley -
gasblower (eurotherm) -
gasrig (eurotherm & keller) -
flowbus -
potentiostat -
furnace (eurotherm) -
linkam (delayed: when needed) -
cryostream (delayed: when needed) -
lakeshore (delayed: when needed)
-