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: User of AsynInt32Array |
From: | <[email protected]> |
To: | <[email protected]>, <[email protected]> |
Date: | Wed, 20 Mar 2013 15:21:05 +0000 |
Hello Vikram, There is a C++ class asynPortDriver, which makes life a lot easier. Mark Rivers has given talks about it and written very informative documentation. Examples of asynFloat64Array and asynInt32Array implementation would be much
the same. https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&ved=0CFEQFjAE&url=""> A full class reference can be found here: It covers asynInt32Array. http://www.aps.anl.gov/epics/modules/soft/asyn/R4-20/asynDoxygenHTML/classasyn_port_driver.html I hope this helps. Regards, Ian From: [email protected] [mailto:[email protected]]
On Behalf Of Vikram Bhagat Hello all, I want to know about how to use asynInt32Array, Actually on AsynDriver.pdf i could find few information about it. typedef struct asynXXXArray { asynStatus (*write)(void *drvPvt, asynUser *pasynUser, epicsXXX *value, size_t nelements); asynStatus (*read)(void *drvPvt, asynUser *pasynUser, epicsXXX *value, size_t nelements, size_t *nIn); asynStatus (*registerInterruptUser)(void *drvPvt, asynUser *pasynUser, interruptCallbackXXXArray callback,void *userPvt,void **registrarPvt); asynStatus (*cancelInterruptUser)(void *drvPvt, asynUser *pasynUser, void *registrarPvt); } asynXXXArray; but not detail information how write and read methods can be used and what should me my db file content for read and write operation. Like provided for asynInt32 record(ai,"aiInt32") {
field(SCAN,"I/O Intr")
field(DTYP,"asynInt32")
field(INP,"@asyn($(port),$(addr))")
field(EGUF,"10.0")
field(EGUL,"-10.0")
field(PREC,"3")
} where can i find the detail user manual / application developer guide? Thanks
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. |