Hi Noel,
I would suggest that you might want to use the asyn device support for the EPICS scaler record from the synApps "std" module, stdApp/src/devScalerAsyn.c. That device support is specific to the scaler record, and is device-independent.
You need to write an asynPortDriver that implements the asynInt32 and asynInt32Array interfaces for the parameters that the scaler record device support requires.
There is an example of such a driver in stdApp/src/drvScaler974.cpp. That is for the Ortec 974 scaler, which uses an RS-232 interface, but the concepts would be the same for your IP-480 device. It is based on the asynPortDriver C++ base class, and is only 286 lines of code.
Let me know if you have questions.
Mark
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Noel Giffin
Sent: Monday, October 22, 2012 6:12 PM
To: [email protected]
Subject: looking for acromag ip-480 driver
Hi,
I'm putting together an epics ioc using a few ipac modules. I've used Mark Rivers ip-440 driver and
ip-445 driver and they are working quite well in my linux environment but I am struggling a little
to adapt these drivers to work with an acromag ip480-2 counter/timer module. Has anybody done this
already before I wade into it over my head? Right now I'm studying asynDriver docs to get up to
speed. Any help or info would be appreciated.
Thanks,
Noel Giffin
TRIUMF
- References:
- Re: How can I collect data values Tim Mooney
- looking for acromag ip-480 driver Noel Giffin
- Navigate by Date:
- Prev:
looking for acromag ip-480 driver Noel Giffin
- Next:
Trying to get NSLSII's version of CSS James F Ross
- 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
- Navigate by Thread:
- Prev:
looking for acromag ip-480 driver Noel Giffin
- Next:
RE: How can I collect data values Hu, Yong
- 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
|