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  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Write data to SNMP-based devices
From: "Priller, John" <[email protected]>
To: Abdalla Ahmad <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 17 Oct 2016 09:39:58 +0000
We have a SNMP driver for EPICS, available here:

<https://groups.nscl.msu.edu/controls/>

The html doc explains the formatting that it uses for INP/OUT fields.  And I'd be happy to assist if you have any questions.

On 10/17/2016 5:26 AM, Abdalla Ahmad wrote:

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

www.sesame.org.jo

 


-- 
John A. Priller             | Phone : (517) 908-7375
MSU Cyclotron Laboratory    | Email : [email protected]
640 S. Shaw Lane room 4303  | Web   : http://people.nscl.msu.edu/~priller/
East Lansing, MI 48824      |

Navigate by Date:
Prev: Write data to SNMP-based devices Abdalla Ahmad
Next: Re: archive engine Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Write data to SNMP-based devices Abdalla Ahmad
Next: Using text/graphic object to block a widget Li, Yuelin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Oct 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·