EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  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  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: CA and data acquisition array with variable length in waveform record)
From: "Mark Rivers" <[email protected]>
To: "Liyu, Andrei V" <[email protected]>, <[email protected]>
Date: Thu, 30 Oct 2008 06:16:35 -0500
One way to do this is to use caget(), which can explicitly read a limited amount of data.
 
This is what I have used for reading image data in my new areaDetector software client.
 
There are 3 ancillary PVs.  xSize, ySize, and frameCounter.  When frameCounter increments (new data available) the client does a caget to read (xSize*ySize) pixels.
 
Mark
 

________________________________

From: [email protected] on behalf of Liyu, Andrei V
Sent: Wed 10/29/2008 7:54 PM
To: [email protected]
Subject: CA and data acquisition array with variable length in waveform record)



Hi, 

I would like to use EPICS for one system but there is one problem where I can't come to correct solution. 
Data acquisition system gets data array. Array length always changes. For example, first measurement has 2000 length array. Next measurement has 50000 length array. Then 2002, 1500, 51000, and so on. 

I can create waveform record with 100000 length that will satisfy max points in array. When client subscribes it must set counts of data array. And I, definitely, don't want to transfer 100000 data array each time.

Have anyone solved this? 

Thanks, Andrei. 



References:
CA and data acquisition array with variable length in waveform record) Liyu, Andrei V

Navigate by Date:
Prev: CA and data acquisition array with variable length in waveform record) Liyu, Andrei V
Next: Generating an IOC with SEQ logic in it. David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CA and data acquisition array with variable length in waveform record) Liyu, Andrei V
Next: Generating an IOC with SEQ logic in it. David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  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 ·