I suggested to Miroslav that an easy way to get this sort of value into EPICS would be to buy a cheap USB mouse and wire the switch across one of the mouse buttons. I've put together a small example showing how to read from a USB mouse into an EPICS PV. It's very basic, but it does seem to work. If anyone's interested I will e-mail the support module and example application to try out.
I've tested this only on OS X, but it should work on any system that supports libusb-1.0.
On Jun 30, 2011, at 9:17 AM, Miroslav Mihaylov wrote:
> Hello.
> I am looking for an EPICS compatible hardware switch that has two enumerated
> PV values. For example when the switch is pressed its PV value is 1 and when
> the switch is released its PV value is 0. I need to run that on a software IOC
> Linux box. I have Keythley multimeter and I could use one of its channels for
> that purpose but maybe someone else has already done something similar or
> there is an existing hardware solution that can run on soft IOC ?
> Thank you.
> --
> Miroslav Mihaylov
> University of Illinois at Chicago
> Department of Physics
> 2336 SES
> 845 W. Taylor St. M/C 273
> Chicago, IL 60607
> 312 355 0225
--
Eric Norum
[email protected]
- References:
- EPICS Soft IOC hardware switch Miroslav Mihaylov
- Navigate by Date:
- Prev:
RE: Errors building EPICS with MinGW Jeff Hill
- Next:
Re: PPC603 / PPC604 differences? Dirk Zimoch
- 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:
EPICS Soft IOC hardware switch Miroslav Mihaylov
- Next:
minimum CA Server requirements Circuit6 Engineering
- 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
|