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  <20132014  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  <20132014  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
Sent: 20 March 2013 15:05
To: [email protected]
Subject: User of AsynInt32Array

 

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.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 



References:
User of AsynInt32Array Vikram Bhagat

Navigate by Date:
Prev: RE: User of AsynInt32Array Mark Rivers
Next: drvAsynIPPort question Sinisa Veseli
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: User of AsynInt32Array Mark Rivers
Next: drvAsynIPPort question Sinisa Veseli
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·