|
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
|