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: RE: asyn record which is both input and output
From: Mark Rivers via Tech-talk <[email protected]>
To: '黄佳伟' <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Sun, 5 Jan 2020 16:28:26 +0000

 

Ø  So, is there any type of records that can trigger `readXX()` and `writeXX()` functions so that almost a half  of the records need not to be built?

 

I don’t understand what you are asking.  Please give a specific example of what you want to do for one parameter. 

 

Many asynPortDriver drivers use SCAN=I/O Intr for the input so they are processed when the driver does callParamCallbacks().  This will only process the input record if the value has changed.

 

I this is a motor driver have you considered using the motor record and writing a driver based on the asynMotorController and asynMotorAxis base classes?

 

Mark

 

 

From: Tech-talk <[email protected]> On Behalf Of ??? via Tech-talk
Sent: Sunday, January 5, 2020 12:49 AM
To: tech-talk <[email protected]>
Subject: asyn record which is both input and output

 

Hello:

    I use asynPortDriver C++ library to interface my own motor drivers. As the tutorial did, one input record and one output record will be built to read and write one parameters in drivers. the `caput` to input record won't trigger the `writeXX()` functions just because it's an input record. So, is there any type of records that can trigger `readXX()` and `writeXX()` functions so that almost a half  of the records need not to be built?

 

    Thank you,

    Jasper


References:
asyn record which is both input and output 黄佳伟 via Tech-talk

Navigate by Date:
Prev: RE: help for streamDevice question Mark Rivers via Tech-talk
Next: RE: Ethernet question 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: asyn record which is both input and output 黄佳伟 via Tech-talk
Next: help for streamDevice question 张亚威 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, 05 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·