Experimental Physics and
| |||||||||||||||
|
Hi, I'm trying to control the device using the SNMP protocol. But I can caget to the value, when I caput, the value does not change.
the db file is as follows:
record(ao,"$(DEV):Switch1") { field(DESC,"SNMP channel") field(DTYP,"Snmp") field(SCAN,"Passive") #field(PREC,"3") field(OUT,"@$(HOST) private $(MIB)::pduOutletSwitchedControlCommand.1.1 ( 100") }
The mib file is as follows:
pduOutletSwitchedControlCommand OBJECT-TYPE -- FROM ENLOGIC-PDU-MIB SYNTAX INTEGER {immediateOff(1), immediateOn(2), delayedOff(3), delayedOn(4), immediateReboot(5), delayedReboot(6), outletUnknown(7)} MAX-ACCESS read-write STATUS current DESCRIPTION "Getting this variable will return the outlet state. If the outlet is on, the immediateOn (2) value will be returned. If the outlet is off, the immediateOff (1) value will be returned. " ::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) enlogic(38446) pdu(1) pduOutlet(5) pduOutletSwitchedControlTable(5) pduOutletSwitchedControlEntry(1) pduOutletSwitchedControlCommand(4) 1 2 }
Is there an error somewhere in the db file? Thanks
| ||||||||||||||
ANJ, 20 Mar 2024 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |