pcdsdaq.ami.auto_setup_pyami

pcdsdaq.ami.auto_setup_pyami()

Does a best-guess at the ami configuration, if it has not yet been setup.

The steps are:

  1. check hutch name

  2. determine ami proxy and register it

  3. setup detault l3t file

  4. makes sure pyami is imported and connected to the ami proxy

This will be called the first time pyami is needed. We don’t import at the top of this file because we need to be able to import this file even if pyami isn’t in the environment, which is semi-frequent.