APS-4ID-POLAR / polar_instrument

Bluesky setup for the POLAR beamline
0 stars 0 forks source link

What is the best way to have multiple instruments? #19

Open gfabbris opened 3 months ago

gfabbris commented 3 months ago

In POLAR we could have 2-4 instruments running at the same time (4idb, 4idg, 4idh, laser). We currently have "Raman" and "instrument" setups, could do similarly for others, but, is this the best approach? What about the catalog, should it be split?

prjemian commented 3 months ago

What about the catalog, should it be split?

This is a local choice. MongoDB can handle either way. That's what it is designed for.

That said, a single database means that searches can be more broad.

4idb, 4idg, 4idh, laser

The first three names are likely unique. laser is much too general given work at 7-ID and the PLD instrument that has been at 33-ID-D up until now. Might be others, as well. Probably best to make that one unique.

... multiple setups ...

The Deposition lab has this situation exactly. They renamed instrument to be one of their depo systems, then created copies for the other systems. Devices and plans common to all are in another directory they all share. Startup script parameters are used to run the depo system of choice. Your facility could follow a similar pattern.

gfabbris commented 3 months ago

Sounds good. Let's discuss this tomorrow.