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

Subject: Re: Reading multiple lines from an asyn record
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "Sobhani, Bayan" <bsobhani at bnl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 10 Jun 2021 12:04:46 +0000
> I see that if I use BINP I can adjust the character limit if I restart the IOC, but ideally I would like to avoid this.


You only need to restart the IOC once and set IMAX=1024 or some other size that will always be large enough when you load asynRecord.db.  You then set the input format (IFMT) to "Hybrid" which uses the large BINP buffer but still does EOS processing.


Mark



________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Sobhani, Bayan via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, June 10, 2021 3:12 AM
To: tech-talk at aps.anl.gov
Subject: Reading multiple lines from an asyn record


I have an asyn record to a device:



https://epics.anl.gov/modules/soft/asyn/R3-2/asynRecord.html



I would like to download files from this device to my computer, that consist of carriage return separated lines. The problem is the 40 character limit. I see that if I use BINP I can adjust the character limit if I restart the IOC, but ideally I would like to avoid this.



Is there a way to get the record to read one line at a time? If I could somehow get every line of the file read with a camonitor of the PV this would be good enough for me.



Alex

References:
Reading multiple lines from an asyn record Sobhani, Bayan via Tech-talk

Navigate by Date:
Prev: Re: Writing to Waveform from CALC Mark Rivers via Tech-talk
Next: Make compilation having weird behavior Marco A. Barra Montevechi Filho via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Reading multiple lines from an asyn record Ralph Lange via Tech-talk
Next: Writing to Waveform from CALC Florian Feldbauer via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 10 Jun 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·