Friday, 18 April 2014

New version of data logging software now available.

Code06 now available with radical enhancements

There are always improvements to be made but the latest version of the logging software is now available. Code06 is a radical development on the previous version and can be found here.

Objective to provide a low cost logger supporting multiple nodes

The objective is to be able to log data from a network of XBee's and analyse the data using the Google Docs suite of software. In particular the spreadsheet application which has a very powerful graphing capability. In addition the objective is to develop a low cost instrument with minimal equipment requirements.

Summary of latest functionality

Here's a summary of the new functionality etc.


  • It's now a pure Java application.
  • The development environment is Eclipse.
  • An unlimited number of XBee nodes can be supported.
  • Configuration is via a text file.
  • Logging nodes are registered in the configuration file.
  • Logging interfaces are registered in the configuration file.
  • Data from nodes not in the configuration file is discarded.
  • Received data can be recorded as raw values e.g. ADC output value, or converted e.g. temperature.
  • User friendly names can be used to identify the nodes and interfaces.
  • Data is recorded in a comma delimited text file.
  • The data recording process is a separate process to the capture process.
  • Data is stored as it is received. 
  • Log records are written at programmed intervals. e.g. 1 min, 1 hour, 1 day
  • A new log file is created per day.
  • Debugging is provided by log4j
  • Debugging is configured via a configuration file
  • Debugging provides low level data packet inspection
  • Debugging provides monitoring of the application operation
  • Debug output is written to a logging file or console.  

At the moment my development  facilities include only two XBee's which is not really a network! Therefore I'm waiting for another to arrive in the next few days and then I will be able to test the multi node operation.