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

Subject: Re:Re:Re: RE: A question on asyn application
From: cxy via Tech-talk <tech-talk at aps.anl.gov>
To: "Ralph Lange" <ralph.lange at gmx.de>, Torsten Bögershausen <Torsten.Bogershausen at ess.eu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, rivers at cars.uchicago.edu
Date: Wed, 24 Jan 2024 11:02:12 +0800 (CST)
Hello everyone,
Thank you for all your advice.
I made a mistake here because I am not clear with the usage of every parameter in the asynPortDriver function.
It should be like this:

Now it works.

Best wishes,

Yoon



At 2024-01-23 13:26:35, "cxy" <ycx810212 at 163.com> wrote:

Hello Ralph,
       Thank you for your advice.
       I have tried months ago that this device can run correctly with StreamDevice. 
       But now  we need to use asyn to write it again.
Best wishes
Yoon






At 2024-01-23 12:57:49, "Ralph Lange" <ralph.lange at gmx.de> wrote:

Hi Yoon,

Just to make sure:
If your device is interfaced through messages over a byte-stream connection (like TCP) and the communication follows a request/response model - your test looks like exactly that - you should not code your own asyn driver, but use StreamDevice.

Cheers,
~Ralph
 

References:
A question on asyn application cxy via Tech-talk
Re: A question on asyn application Torsten Bögershausen via Tech-talk
RE: A question on asyn application Mark Rivers via Tech-talk
Re:RE: A question on asyn application cxy via Tech-talk
Re: RE: A question on asyn application Ralph Lange via Tech-talk

Navigate by Date:
Prev: mvme3100 epics and control motor 백호령 via Tech-talk
Next: Re: mvme3100 epics and control motor Heinz Junkes 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  2021  2022  2023  <2024
Navigate by Thread:
Prev: Re: RE: A question on asyn application Ralph Lange via Tech-talk
Next: RE: RE: A question on asyn application 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  2020  2021  2022  2023  <2024
ANJ, 24 Jan 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·