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
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);
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
field(INP,"@asyn($(port),$(addr))")
where can i find the detail user manual / application developer guide?
--
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
|