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: Problem reading SNMP Gauge32 values with devSnmp AI/LI records
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: Fri, 13 Mar 2026 21:13:46 +0000
Hi all,

I am trying to read SNMP Gauge32 variables from a Novus GPS device using the devSnmp EPICS driver. 

Here’s my setup:

-  community: novus
- SNMP variable: NOVUS-SECURE-MIB::nsFaultSatView1.0 (Gauge32)
- Record type: stringin / ai / longin (tried multiple)
- Template snippet:

record(stringin, "$(acc):$(sys)_$(group):nsFaultSatView1")
{
  field(DTYP, "Snmp")
  field(INP, "@$(HOST) $(COMMUNITY) $(W)::nsFaultSatView1.$(id) 1 100 s")
  field(SCAN, "10 second")
}

When I start the IOC, I get:

2026/03/13 15:31:50 devSnmp SI read error '<PREFIX>:nsFaultSatView1' : mask '0' not found in 'Gauge32: 14'

I have tried:

- Using `mask = 0`, `1`, `-1`, `0xffffffff`, `*`
- Switching to `ai` or `longin` record types
- Using `:raw` in the OID
- Reading via `stringin` + calc record

All attempts fail with the "mask not found" error.

Question

Is there a way to read **Gauge32 numeric SNMP variables** using  devSnmp?  

Any guidance would be appreciated!

Thanks,
Varuna

Replies:
Re: Problem reading SNMP Gauge32 values with devSnmp AI/LI records Priller, John via Tech-talk

Navigate by Date:
Prev: Re: [Ext]Re: Scaler/MCS dark counts? Jesse Hopkins via Tech-talk
Next: Re: [Ext]Re: Scaler/MCS dark counts? Mark Rivers 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: [Ext]Re: Scaler/MCS dark counts? Mark Rivers via Tech-talk
Next: Re: Problem reading SNMP Gauge32 values with devSnmp AI/LI records 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, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·