I installed pyepics version 3 (http://cars9.uchicago.edu/software/python/pyepics3/overview.html) in ..../scripts/pylibs . I also added an "epics.conf" file to /etc/ld.so.conf.d/ , which points to the place in /ligo/apps/epics/base/lib/linux-x86_64/ where the DLLs live. All .conf files in /etc/ld.so.conf.d/ get included in the path, so python should always automatically be able to use epics now, after you "import epics" in a script.
This is supposed to give us direct channel access to all epics channels, rather than using Yuta's wrapper scripts for ezca stuff. I was going to write a tdsavg equivalent using camonitor, since it's unclear whether tds tools are being supported anymore.
However, I'm not getting it to connect to the server that serves epics, so I can't get the values of any channels. All of the info in the link above assumes that you automatically get a connection, and I'm out of ideas right now of things to try. Does anyone else have any ideas? |