pcdshub / engineering_tools

A repository of scripts, configuration useful for the PCDS team
Other
4 stars 26 forks source link

motor-expert-screen checks for smaract-specific pvs so it works… #174

Closed KaushikMalapati closed 9 months ago

KaushikMalapati commented 9 months ago

… with aliases without MCS2 in their prefix

Description

Logic to select which edm screen to use now checks if LSCO_RBV pv is present, which is a smaract specific pv.

Motivation and Context

Some smaract axes have aliases without MCS2 in their prefix, so before they would use the default aerotech edm screen when launched from motor-expert-screen instead of a smaract screen. https://jira.slac.stanford.edu/browse/ECS-4401

How Has This Been Tested?

Launching motor-expert-screen with a smaract alias pv without mcs2 in its prefix and a smaract pv with mcs2 in its prefix and ensuring it uses a smaract screen instead of an aerotech screen.

Where Has This Been Documented?

A comment in the code has been updated

ZLLentz commented 9 months ago

I'm going to run this myself a few times and then approve