pcdshub / btms-ui

Laser Hall Beam Transport Motion System User Interface
Other
0 stars 4 forks source link

Make Camera Devices More General #15

Closed slactjohnson closed 1 month ago

slactjohnson commented 2 months ago

Expected Behavior

We can use any camera we want from the happi database.

Current Behavior

The code is rigidly expecting a camera name like las_lhn_bay{x}_{n,f}f. This makes it hard to give the cameras human-readable names.

Possible Solution

Make these names a configuration parameter rather than automatically determined.

Context

Some of our happi database names for cameras have been given more human readable names, which don't fit the current schema. This prevents us from being able to open these cameras.

slactjohnson commented 2 months ago

This is in large part determined by btms_config.py in pcdsdevices. I need to resolve that first.