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  <20202021  2022  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Carriage Return in asyn record IEOS/OEOS fields
From: Marissa Kranz via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 10 Jan 2020 14:02:45 -0800
Hello,

I am using asyn records to send commands to ethernet connected power supplies. This particular supply requires \r for its end of string terminator. When I put \r into the IEOS or OEOS field in an asyn record and boot the IOC, the \r isn't instantiated in those fields- they are empty. I can dbput the \r in to those fields after the IOC is running to talk to the supply, but cannot get them to load at startup. I have confirmed that the \r exists in the .db files and tried using single and double quotes to get the \r to instantiate in the record fields with no success. These fields have worked for me in the past with terminators like \n, but I cannot get it work with \r.

The record documentation lists \r as the default value for the OEOS and IEOS fields, but leaving these fields blank to allow for the default and booting the IOC does not allow for communication with the supply. I have to explicitly dbput \r into the fields to be able to send and receive messages.

Has anyone encountered this is the past when using asyn and have a fix for getting the IOC to boot with \r in the OEOS and IEOS fields of asyn records?

Thank you,
Marissa Kranz

--
Marissa Kranz
Research Engineer
UW Medical Cyclotron Facility
University of Washington School of Medicine
425.246.4964


Replies:
RE: Carriage Return in asyn record IEOS/OEOS fields Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: EPICS release series after 7.0: 7.1 or 8.0? J. Lewis Muir via Tech-talk
Next: RE: Carriage Return in asyn record IEOS/OEOS fields Mark Rivers 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Error when running st.cmd of SmartMotor <<-- cancel the question 최원철 via Tech-talk
Next: RE: Carriage Return in asyn record IEOS/OEOS fields Mark Rivers 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  <20202021  2022  2023  2024 
ANJ, 10 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·