NetBurner 3.5.0
PDF Version
 
System Diagnostics

By including the function EnableSystemDiagnostics() in your application, you can view system diagnostic information by going to the device's Configuration Server web page and clicking on the "Diagnostics" button.

This example demonstrates how to add your own additional variables to the diagnostic display, such as application integers, floats, strings, definitions, etc. To do so:

  • Add #include <diagnostics.h>
  • Declare the corresponding DiagVarMon() function. For example, to add an integer variable myInt you would declare: static DiagVarMon MyIntMon("My Int", myInt); The first parameter is the name or description you wish to use to identify the variable.