EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Problem using waveforms with caget and camonitor
From: "Walters, M \(Malcolm\)" <[email protected]>
To: "TECHTALK Tech-Talk" <[email protected]>
Date: Tue, 6 Jun 2006 17:23:23 +0100
I've just encountered a problem with both the command-line caget and
camonitor when you try to read waveforms in conjunction with other data.
If you try to read a single value followed by a waveform then you only
get the first point of the waveform. Similarly if you try to read a
shorter waveform followed by a longer waveform then you only get part of
the longer waveform.

Both of these are to do with how the maximum size is determined. To fix
these I have altered how these function calculate this size. If a
specified number of points is requested (using -# N) then that becomes
the maximum returned. Otherwise the whole array is read back always.

I hope this doesn't break any expected behaviour. The patches are
attached.

Malcolm

Malcolm Walters
01235 778557
Diamond Light Source Ltd. 
Rutherford Appleton Laboratory,
Chilton, Didcot, Oxfordshire OX11 0QX
[email protected]

Attachment: caget.patch
Description: caget.patch

Attachment: camonitor.patch
Description: camonitor.patch


Replies:
Re: Problem using waveforms with caget and camonitor Ralph Lange

Navigate by Date:
Prev: php library Christophe Moins
Next: Re: Problem using waveforms with caget and camonitor Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: php library Christophe Moins
Next: Re: Problem using waveforms with caget and camonitor Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·