Hi Andrew,
I recently taught a class on asyn where we did a hands-on exercise writing a driver that communicates with a Newport XPS using the drvAsynIPPort as the underlying transport.
The handout is here:
http://www.aps.anl.gov/epics/docs/APS2015/10-AsynDriver-Lab.pdf
A tar file with the example driver fully worked out, and a template driver as an exercise for the students can be found here:
http://cars.uchicago.edu/gsecars/data/epics/XPSExample.tgz
The lecture slides and YouTube videos of the classes are here:
http://www.aps.anl.gov/epics/docs/APS2015.php
Let me know if you have questions.
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Andrew Gomella [[email protected]]
Sent: Wednesday, February 11, 2015 7:52 PM
To: [email protected] Talk
Subject: Example asyn device support for rs-232 hardware with unsolicited messages (without using stream-device)
Hi,
I tried searching the on the APS list of hardware here (http://www.aps.anl.gov/epics/modules/bus.php#RS%2d232%20%28Asyn%29) but I am having trouble finding an application that fits the above description.
I would like to use it as a template to write support for a tricky device I am working with (which works with stream device 95% of the time but produces some occasional problems due to unpredictable ordering of output messages as well as grouping unsolicited messages with solicited output).
If anyone could point an example application that does not use stream device that would be great.
Thanks,
Andrew
- References:
- Example asyn device support for rs-232 hardware with unsolicited messages (without using stream-device) Andrew Gomella
- Navigate by Date:
- Prev:
Example asyn device support for rs-232 hardware with unsolicited messages (without using stream-device) Andrew Gomella
- Next:
Re: EPICS Collaboration Meeting May 2014 Torsten Bögershausen
- 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:
Example asyn device support for rs-232 hardware with unsolicited messages (without using stream-device) Andrew Gomella
- Next:
Re: Example asyn device support for rs-232 hardware with unsolicited messages (without using stream-device) Andrew Gomella
- 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
|