Debugging messages

Link debugging shows the raw byte data for messages sent from and to the Neuron chip in the device.
  1. Open the lonworks palette and drag a LinkFilter component to the Lon network node in the Nav tree.
  2. Right-click the LinkFilter node in the Nav tree, click Views > Property Sheet, then set at least one of the three enable properties to true.
  3. Expand the Lon Comm Config container and change Link Debug from false to true.
  4. Right-click station and click Spy > logSetup.
  5. Enable Trace on the port.
  6. Double-click the LinkFilter node in the Nav tree.
    The Link Filter View opens and populates with link events.
    Image
  7. To view details for any specific event, double-click it.
    The Application Buffer window opens for the selected link event.

Refer to the LonWorks Host Application Programmer’s Guide (Appendix C), for message header meaning (first 16 bytes). Refer also to the Neuron C Data Book (Appendixes A and B), for definition of LonTalk messages.