Functions
[ul]
[li]Connect to #0-3[/li]
[li]Show live chart with custom timer[/li]
[li]Save live chart as a png image[/li]
[li]Log data from Analog 1 and 2 and save to analog_1 and analog_2 .txt with the format “dd-mm-YYYY, value” for easy processing by other software[/li][/ul]
Download
Current
[ul][li]V0.02http://bld-live.dk/files/K8055LoggerV0.02.rar[/li][/ul]
Older
[ul][li]V0.01B: http://bld-live.dk/files/K8055LoggerV0.01B.rar[/li][/ul]
To Do
[ul]
[li]Get the “Save path” working[/li]
[li]Put XML read/write in for saving and reading configuation[/li]
[li]Create a function to import stored log files[/li]
[li]Generate charts by loading the stored log files (day/week/month)[/li]
[li]Store data every 100ms for 1 sec (or higher timers), and calculate the avg based on timer interval[/li][/ul]
Example of a log file: (1 sec timer)
09-04-2010 22:07:38,112
09-04-2010 22:07:39,112
09-04-2010 22:07:40,112
09-04-2010 22:07:41,112
09-04-2010 22:07:42,111
09-04-2010 22:07:43,111
09-04-2010 22:07:44,112
09-04-2010 22:07:45,112
09-04-2010 22:07:46,112
09-04-2010 22:07:47,112
Example of a digital log file: (1 sec timer)
10-04-2010 00:56:15,0,0,0,0,0
10-04-2010 00:56:16,1,0,0,0,0
10-04-2010 00:56:17,0,1,0,0,0
10-04-2010 00:56:18,0,0,1,0,0
10-04-2010 00:56:19,0,0,0,1,0
10-04-2010 00:56:20,0,0,0,0,1
Example of a chart saved to the hdd:
Change log:
V0.03 (still unreleased) (~1400 lines, and counting...)
Made individual "Save path" function for both chart and text logging
Added logging to file with date formatting in file name
Added multiple levels of logging for later functions
Changed format of text in the logging window
Preparing layout for analog+digital outputs
Added individual date formatting for both text and chart logging
Added control for the digital open collector outputs
Added the option for custom chart scales
Changed the chart entry limit fro 100 to 1000
Optimized communication to the K8055 so commands won't be send twice if they are the same
V0.02 (~800 lines)
Added logging for the digital inputs
Added background color for the timers running
Changed start/stop procedure for the timers
Added tabs for a smaller form and more functions
Added logging for debugging purposes
Fixed Connect/Disconnect
Changed interval validation for the timers
Removed "Main" start/stop of the timers
Changed the way the charts are generated, so they will now only update when the tab is visible or "Save to disk" is enabled
V0.01 (~400 lines)
Got the basic functions down and working