Deflate the hardware configuration
Hi,
What about deflating this kind of stuffs?
- name: beam_shutter
id: beam_shutter
protocol: bliss
address: beam_shutter
- name: tomo2cam_y
id: tomo2cam_y
protocol: bliss
address: tomo2cam_y
- name: tomo2cam_magnification
id: tomo2cam_magnification
protocol: bliss
address: tomo2cam_magnification
It's only about picking one as the main attribute, id
or address
.
- address: beam_shutter
protocol: bliss
- address: tomo2cam_y
protocol: bliss
- address: tomo2cam_magnification
protocol: bliss
Even more i would like to merge protocol and address together
- address: bliss://tomo2cam_y
- address: bliss://tomo2cam_magnification
And finally this address could be used inside the layout file, without need of defining twice the stuff in hardware and layouts, and at other places.
What do you think?