SNMP Client Error Codes for I/O Data Point Tags

Help Contents

Introduction

There may be a number of reasons why SNMP Client Driver is unable to update the value of a data point tag. For example:

When there is an error, the SNMP Client Driver writes values to the TagErrorCode and DataSourceError properties to explain why.

The TagErrorCode field provides the primary reason why a tag is not updating:

TagErrorCodeDescription
0No error.
1The IODataSource property is not valid.
5The data returned by the SNMP Agent could not be converted to the type required by the tag.
6The IOItemName property is not a valid ASN1 object identifier.
20The SNMP Agent responded with a PDU status error. The DataSourceError will contain the PDU status error code.
21The reply from the SNMP Agent does not contain a variable binding list (VarBindList).
22The reply from the SNMP Agent did not contain a value for this tag.
23The SNMP Agent responded with a VarBind exception. The DataSourceError will contain the exception number.
24The driver does not support the SNMP Data Type returned by the SNMP Agent. The DataSourceError will contain the data type that is not supported.
25The SNMP Agent is offline.

For certain TagErrorCode values, the DataSourceError field provides additional information.

Further Information

SNMP Client Driver

For an overview of the SNMP Client Driver.

Glossary

For the meaning of terms used in Fernhill SCADA.