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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Write data to SNMP-based devices |
From: | "Abdalla Ahmad" <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Mon, 17 Oct 2016 09:24:52 +0000 |
Hi Is there anyone here worked with SNMP-based devices? We have some devices in our facility in which its control is SNMP based. We are using the SNMP EPICS driver developed by Diamond
Light Source (you can find it
here). As stated in the document within the driver package, the input field of the record must be like: @Host Community objectID This works fine when reading data out of SNMP devices. The problem is writing data in which we are not sure what is the used format. On the command line I tried this and it worked: snmpset -c private -v 1 10.2.3.61 SC::float-Voltage.0 i 4400 I tried to somehow match the OUT field for this command but nothing works and every time I keep receiving this error from the EPICS console: snmp_sess_synch_response: errindex 1, 10.2.3.61 SC::float-Voltage.0 SC::float-Voltage.0 :
snmp_sess_synch_response: errindex 1, 10.2.3.61 SC::float-Voltage.0 SC::float-Voltage.0 Record [SRC03-RF-SSA3-REC0:setVoltage] receive error code [0x00070000]! SRC03-RF-SSA3-REC0:setVoltage: Response doesn't have a match! Clearly it must be the wrong format of the OUT field (which is not explained in the documents). Any help is appreciated! P.S.: DTYP is set to "SnmpV1". The device has SNMP trap version set to V1. Best Regards, Abdalla Ahmad Control Engineer SESAME Allan, Jordan. Tel: (+962-5) 3511348 , ext. 265 Fax: (+962-5) 3511423 Mob: (+962-7)88183296 |