EPICS Controls 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  2021  2022  2023  2024  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  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Newbe question - PV limits
From: Paul Nord <[email protected]>
To: [email protected]
Date: Wed, 24 Aug 2011 16:10:16 -0500
I've got a GUI setup with MEDM to control some values.  I'd like to PV to accept values only in a valid range: 4 or 5.

Here's the record:
record(longout, "GROUP_0")
{
 field(DESC, "SNMP channel BBM-")
 field(DTYP, "Snmp")
 field(SCAN, "Passive")
 field(EGU,  "")
 field(PINI, "YES")
 field(OUT,  "@$(HOST) guru WIENER-CRATE-MIB::groupsSwitch.0 INTEGER: 100 i")
 field(ADEL, "1")
 field(VAL, "5")
 field(LOPR, "5")
 field(HOPR, "4")
 field(DRVH, "5")
 field(DRVL, "4")
}


I've tried setting LOPR, HOPR, and DRV*.  But I can still sent "1" from MEDM and it will set the hardware into an undesired mode.

I must be missing something simple here.

Paul

Replies:
RE: Newbe question - PV limits Allison, Stephanie
Re: Newbe question - PV limits Ron Sluiter
Re: Newbe question - PV limits emmanuel_mayssat

Navigate by Date:
Prev: Re: Reboot VME problem J. Lewis Muir
Next: Re: question about best IDEs for Windows/Cygwin-x86, GCC, EPICS inEPICS community Guy Jennings
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  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Reboot VME problem J. Lewis Muir
Next: RE: Newbe question - PV limits Allison, Stephanie
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  2021  2022  2023  2024 
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 ·