Thank you very much. That works.
Now by the default it count once per second. If i want to save the pv value more freqeunce, for example two or four times per second, how can i do?
I tried to use below simple script to save the pv value:
while [ 0 ]; do
caget -a pv >> dat.txt
done
The interval is 2 seconds in the linuxapp, just create a linux application. While for the vxWorks target, the interval is 20 seconds in my case. I did not
find any parameter to set the interval.
Is it reasonable to save the pv value by script? Because in the early folk, the internet condition will have effect on the caget. Some time the socket is lost.
Right-click on the plot background and choose "dump to file". The file
will be written in /tmp or in the location pointed
to by the environment variable EDMDUMPFILES if it is defined.
John Sinclair
汪启胜 wrote:
>
> Hi, all
>
> We use the edm tool x-y graph to record the voltage from ion chamber.
> While i don't know how to save the plot. Does anybody give me some advice?
>
> Thanks in advance.
>
> Email:[email protected]
> No.239 Zhangheng Road
> PuDong District
> Shanghai Institute of Applied Physics CAS
> Shanghai, China
> Tel: +86-21-33933256 Fax: +86-21-33933031
>