Troubleshooting and debugging

You can view debugging messages specific to the SNMP driver by configuring the diagnostics - logSetup view of a running station with an SnmpNetwork (see example below).

A single log is created for an SnmpNetwork object existing in a running station (named SnmpNetwork). This log is used for displaying SNMP-specific information to standard output. If you enable Trace for this log, it displays all levels of debug information specific to the SNMP driver to the standard output, including SNMP communication (such as byte requests/responses).

NoteEnabling Trace for this log may lower performance due to the extra overhead of writing to standard output. You should use this function when you need to debug your application and then disable it when you are finished. The SnmpNetwork log only shows debug information particular to its own network (and devices/proxy points underneath). You can use the Trace feature to verify communications and polling of your devices/proxy points.

Figure 32. SNMP log setup


SNMP log setup