[g2p_ana] epics read script

Pengjia pzhu at jlab.org
Fri Jun 22 01:34:55 EDT 2012


Hi everybody,
I built a simple python script to read the epics variable, you can find it
in ifarm:
/w/halla-1/g2p/epics/epicst2v
To use it directly by command, you can simply type the command in terminal
like this:
./epicst2v epics_path time
time format can be raw time(like 1340342881) or string(like "2012-06-22
01:28:30")

The best way to use it is import it to your own script(I built it as a
class),because this script will save the whole file to memory first, this
will take a long time if the file is large. once you initialized it it will
be very fast to find the special value in special time.

If you find any bug please let me know. Thank you very much!

Pengjia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.jlab.org/pipermail/g2p_ana/attachments/20120622/38c8e276/attachment.html 


More information about the g2p_ana mailing list