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:
check hutch name
determine ami proxy and register it
setup detault l3t file
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.