Options on storing data
Posted: Fri Feb 17, 2012 1:41 pm
I am trying to build a stack which uses serial data from a Current Cost Meter which gives you Power consumption and temperature data. The device spits out data every 6 secs. I have succeeded in parsing out the the relevant data to display in my stack. My next challenge is to be able to store this data so that graphs can be created of power usage over time etc. I already have another system in place using a perl scripted solution which stores the data in a RRD file and enables you to generate historical usage graphs. I would link to an example page but as a new user I am unable to.( see current cost page on my excuse for a website in my sig.)
I would like to do a similar thing within Livecode, so the question is, which method of data storage would be appropriate for this type of application or should I get Livecode to talk an existing RRD file. any thoughts or ideas would be appreciated. Also what is the etiquette for acknowledging where your code has been derived from? I'm very conscious that in the learning process I have been merrily cut and pasting code from other peoples stacks.
Cheers
Colin
I would like to do a similar thing within Livecode, so the question is, which method of data storage would be appropriate for this type of application or should I get Livecode to talk an existing RRD file. any thoughts or ideas would be appreciated. Also what is the etiquette for acknowledging where your code has been derived from? I'm very conscious that in the learning process I have been merrily cut and pasting code from other peoples stacks.
Cheers
Colin