[Error] Invalid settings UNIT 001d PORT1_SNMP Hikvision Error_in_CMD-3 1 Generic 000029 Driver 00000258 (0x102)

HI,

in the log file I have this error. If I try to read a variable with SNMP, I display #BAD. 

The device is a camera (Hikvision). This camera has not public fields (OID start with '.1.3.6.1.2.1') but has only private field (OID start with '.1.3.6.1.4.1').

HELP ME. I don't understand, In the same project I already read other snmp variables of another device and it works.

Thanks

Parents
  • Hi Giancarmine,

    According to the driver Help file:

    0x102 SNMP_ERRORSTATUS_NOSUCHNAME: Requested OID (1) does not exist in supported MIB view or (2) is not accessible or (3) a write operation was attempted on a read only MIB variable.

    The error code suggests there is a problem with the SNMP OID of your tag. Can you compare it to the OIDs of other tags/devices that are working?
    For instance is it starting with a dot ('.')?

    Is it the full OID? Sometimes you have to add an extra level (.n) for an index in an array variable.

    Is it the right data type? Although I would expect a different error code if this were the case.

    Is there a mismatch between variable.dbf and snmpvars.dbf (the dbf name you specified in the 'options' field of ports.dbf)

    Is there a OID mismatch in your Citect tags (because of copy/paste actions)? This is not the .1.3.6.1.4.1.* OID SNMP uses, but Citect's unique tag ID that the compiler generates (OID column in variable.dbf). Apply parameter [OID]Reset=1 to fix this.

    Regards,
    Patrick
Reply
  • Hi Giancarmine,

    According to the driver Help file:

    0x102 SNMP_ERRORSTATUS_NOSUCHNAME: Requested OID (1) does not exist in supported MIB view or (2) is not accessible or (3) a write operation was attempted on a read only MIB variable.

    The error code suggests there is a problem with the SNMP OID of your tag. Can you compare it to the OIDs of other tags/devices that are working?
    For instance is it starting with a dot ('.')?

    Is it the full OID? Sometimes you have to add an extra level (.n) for an index in an array variable.

    Is it the right data type? Although I would expect a different error code if this were the case.

    Is there a mismatch between variable.dbf and snmpvars.dbf (the dbf name you specified in the 'options' field of ports.dbf)

    Is there a OID mismatch in your Citect tags (because of copy/paste actions)? This is not the .1.3.6.1.4.1.* OID SNMP uses, but Citect's unique tag ID that the compiler generates (OID column in variable.dbf). Apply parameter [OID]Reset=1 to fix this.

    Regards,
    Patrick
Children
No Data