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: 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 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 |