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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Question about the best practice for integrating a stepper motor Python library into EPICS
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Thu, 11 May 2023 15:59:12 +0200
On Thu, 11 May 2023 at 14:31, Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> wrote:
  • I have an in-house built stepper motor controller and a python library to control it. 
  • It simply opens a TCP socket, sends a command bytecode and queries some state bytes.
If the Python library is a socket client then how complex is it?  It might just be easier to replace it with a C++ asynMotorController that sends the bytecode and parses the response.

pyDevSup [1] is a nice and powerful way to write generic EPICS Device Support in Python.
Could that be wrapped or extended to work for a MotorRecord support? That would be a very nice upgrade.

Cheers,
~Ralph


References:
Re: Question about the best practice for integrating a stepper motor Python library into EPICS Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Question about the best practice for integrating a stepper motor Python library into EPICS Mark Rivers via Tech-talk
Next: Re: Question about the best practice for integrating a stepper motor Python library into EPICS Alexander Kessler 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  <20232024 
Navigate by Thread:
Prev: Re: Question about the best practice for integrating a stepper motor Python library into EPICS Mark Rivers via Tech-talk
Next: Re: Question about the best practice for integrating a stepper motor Python library into EPICS Alexander Kessler 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  <20232024 
ANJ, 11 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·