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

Subject: stream output not as I thoutght
From: 网易邮件中心 via Tech-talk <[email protected]>
To: [email protected]
Date: Thu, 19 Dec 2019 22:09:04 +0800 (CST)
Hi all,
    I intend to output "FA02AF" using stream.
    The IOC worked well but no effect. I checked the output using serial assistant in Win7.
    I got a indescribable string, not the FA02AF.  Actually when I echo FA02AF >/dev/ttyS0, it seems well.
    I have no idea about these. Could someone give me some advice.
mydev.proto:
_________________
Terminator=CR;
AS{
      out "FA02AF"
}

mydev.db:
__________________
record(ao,"AS")
{
    field(SCAN, "Passive")
    field(DTYP, "stream")
    field(OUT, "@mydev.proto AS $(PORT)")
}

Regards,
Li xing


 


Replies:
Re: stream output not as I thoutght Christoph Schroeder via Tech-talk

Navigate by Date:
Prev: VisualDCT bugfix release 2.8.2 Ralph Lange via Tech-talk
Next: Re: stream output not as I thoutght Christoph Schroeder 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: VisualDCT bugfix release 2.8.2 Ralph Lange via Tech-talk
Next: Re: stream output not as I thoutght Christoph Schroeder 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  <20192020  2021  2022  2023  2024 
ANJ, 19 Dec 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·