Experimental Physics and Industrial Control System
Ron, good catch. I was actually surprised by the variable values in my email. It is correct in the code I copied it from. (Or I'm going crazy.)
Here's the db printout:
epics> dbpr GROUP_0 5
ACKS: NO_ALARM ACKT: YES ADEL: 1 ALST: 5
ASG: ASP: 0x00000000 BKPT: 0x00
DESC: SNMP channel BBM- DISA: 0 DISP: 0
DISS: NO_ALARM DISV: 1 DOL:CONSTANT DPVT: 0x90ce2c08
DRVH: 5 DRVL: 4 DSET: 0x3098ecf7 DTYP: Snmp
EGU: EVNT: 0 FLNK:CONSTANT 0 HHSV: NO_ALARM
HIGH: 0 HIHI: 0 HOPR: 5 HSV: NO_ALARM
HYST: 0 IVOA: Continue normally IVOV: 0
LALM: 4 LCNT: 0 LLSV: NO_ALARM LOLO: 0
LOPR: 4 LOW: 0 LSET: 0x887d2d08 LSV: NO_ALARM
MDEL: 0 MLIS: 0x48d4310880b0310804000000 MLOK: 0xf8561f08
MLST: 4 NAME: GROUP_0 NSEV: NO_ALARM NSTA: NO_ALARM
OMSL: supervisory
OUT:INST_IO @[xxx.xxx.xxx.xxx] guru WIENER-CRATE-MIB::groupsSwitch.0 INTEGER: 100 i
PACT: 0 PHAS: 0 PINI: YES PPN: 0x00000000
PPNR: 0x00000000 PRIO: LOW PROC: 0 PUTF: 0
RDES: 0x78361808 RPRO: 0 RSET: 0x0044ebf7 SCAN: Passive
SDIS:CONSTANT SEVR: NO_ALARM SIML:CONSTANT SIMM: NO
SIMS: NO_ALARM SIOL:CONSTANT SPVT: 0x00000000 STAT: NO_ALARM
TIME: 2011-08-24 17:57:55.505731000 TPRO: 0 TSE: 0
TSEL:CONSTANT UDF: 0 VAL: 4
Paul
On Aug 24, 2011, at 4:53 PM, Ron Sluiter wrote:
> Doesn't HOPR(=4) need to be > LOPR(=5)?
>
> On 8/24/2011 4:10 PM, Paul Nord wrote:
>> 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
>
- References:
- Newbe question - PV limits Paul Nord
- Re: Newbe question - PV limits Ron Sluiter
- Navigate by Date:
- Prev:
Re: Newbe question - PV limits Ron Sluiter
- Next:
Re: blockingSockTest error Andrew Johnson
- 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:
Re: Newbe question - PV limits Ron Sluiter
- Next:
Re: Newbe question - PV limits emmanuel_mayssat
- 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