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  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 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  2025  <2026
<== Date ==> <== Thread ==>

Subject: Handling epicsParseDouble Errors from SNMP PVs Returning Empty or Unexpected Values
From: Varuna Crishan Meddage via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 18 Mar 2026 16:27:44 +0000
I have the following EPICS record defined

==================================================================

record(ai, "$(acc):$(sys)_$(group):nsRbDiscStatus")
{
  field(SCAN, "10 second")
  field(DTYP, "Snmp")
  field(INP, "@$(HOST) $(COMMUNITY) $(W)::nsRbDiscStatus.$(id)  ( 100 i")
  field(DESC, "Rb Discipline Status")
  #field(HIGH,"2")
  #field(HIHI,"3")
  #field(LOW,"0")
  #field(LOLO,"-1")
  #field(LLSV, MAJOR)
  #field(LSV, MINOR)
  #field(HSV, MINOR)
  #field(HHSV, MAJOR)
}

===================================================================

For this EPICs record I get the following error during runtime.

devSnmp AI read error 'PIP2:TIME_CTRL_GPS:nsRbDiscStatus' : epicsParseDouble failed on 'should be INTEGER): ""'


In the MIB file this variable is defined as follows

======================================================================

nsRbDiscStatus OBJECT-TYPE
    SYNTAX      INTEGER { disciplinewait(0),disciplinegood(1),holdover(2) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "Rb Discipline Status: 0=Disc Wait, 1=Disc Good, 2=Holdover"
    ::= { nsRubidiumObjs 4 }

========================================================================

When I ran the snmpwalk command, the output for this variable is

NOVUS-SECURE-MIB::nsRbDiscStatus.0 = Wrong Type (should be INTEGER): ""


Any suggestions to solve this issue ?

Thanks
Varuna Meddage



Replies:
Re: Handling epicsParseDouble Errors from SNMP PVs Returning Empty or Unexpected Values Priller, John via Tech-talk

Navigate by Date:
Prev: Re: OPC UA Device Support - Limit in the number of PVs Ralph Lange via Tech-talk
Next: Re: Handling epicsParseDouble Errors from SNMP PVs Returning Empty or Unexpected Values Priller, John via Tech-talk
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  2025  <2026
Navigate by Thread:
Prev: RE: OPC UA Device Support - Limit in the number of PVs [SEC=OFFICIAL] STARRITT, Andrew via Tech-talk
Next: Re: Handling epicsParseDouble Errors from SNMP PVs Returning Empty or Unexpected Values Priller, John via Tech-talk
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  2025  <2026
ANJ, 23 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·