EPICS Home

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: Re: Problem using waveforms with caget and camonitor
From: Ralph Lange <[email protected]>
To: "Walters, M \(Malcolm\)" <[email protected]>
Cc: TECHTALK Tech-Talk <[email protected]>
Date: Wed, 07 Jun 2006 09:26:53 +0200
Oops - good point!

I committed your suggested changes to the base repository, so they'll show up in the next release.

Thanks a lot,
Ralph


Walters, M (Malcolm) wrote:
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]

References:
Problem using waveforms with caget and camonitor Walters, M (Malcolm)

Navigate by Date:
Prev: Problem using waveforms with caget and camonitor Walters, M (Malcolm)
Next: Re: StreamDevice 2.1 released Rod Nussbaumer
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: Problem using waveforms with caget and camonitor Walters, M (Malcolm)
Next: sysVmeMapShow on mv2700 Matthieu Bec
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