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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: USB/ASYN/EPICS example (usbMouse support)
From: Eric Norum <wenorum@lbl.gov>
To: EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Fri, 22 Jul 2011 09:10:33 -0700
A few weeks ago Miroslav Mihaylov at the University of Chicago posted a Tech-Talk message requesting suggestions for adding a simple hardware switch to an EPICS soft IOC. I suggested using a USB mouse with the switch wired across one of the buttons.   As a proof of principle I created a small driver to show how the libusb routines could be used with ASYN to read values from a USB mouse.

The (very preliminary) code is at: http://www.aps.anl.gov/epics/modules/instrument/usbMouse/

I hope that this is useful and can serve as a starting point for creating EPICS support for other USB devices.

-- 
Eric Norum
wenorum@lbl.gov



Replies:
Re: USB/ASYN/EPICS example (usbMouse support) Circuit6 Engineering

Navigate by Date:
Prev: Waveform Digitizers (Generic Transient Recorders) Ernest L. Williams Jr.
Next: RE: About CSS/BOY Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: Waveform Digitizers (Generic Transient Recorders) Williams Jr., Ernest L.
Next: Re: USB/ASYN/EPICS example (usbMouse support) Circuit6 Engineering
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·