T O P I C R E V I E W |
Jebus |
Posted - 06/24/2012 : 17:18:00 I have the GQGMC Pro software logging my GMC-200 each minute with ten minute averaging. I send this to my home automation server for parsing and graphing display. Date and time are correct on both computers. I notice that the timestamp on the data logging in a csv file is linear from the start of logging and not the actual time of record. Can this be changed? |
3 L A T E S T R E P L I E S (Newest First) |
ZLM |
Posted - 06/27/2012 : 06:45:44 Thanks for the feedback. We will check this issue. The code is done by VC not BV.
|
Jebus |
Posted - 06/25/2012 : 16:45:57 I believe it is the way you are clearing the file to 0 bytes before writing the whole file again. Wouldn't it be better to open the file and find the end and add the next line? I do this, find the end, to get the last line, in my parsing app, after the GQGMC Pro software is done clearing and spraying the whole file back out, with this bit of dot net vb code. You are doing two file modifications for one writeline.
myStreamReader = File.OpenText(myFile) Do While myStreamReader.Peek <> -1 LastLines = myStreamReader.ReadLine Loop
LastLines contains just that, the lastline. You could just then find the next line feed, and write the next line... |
Jebus |
Posted - 06/25/2012 : 16:28:42 I have confirmed the data logging timestamp falling behind realtime. I started a new file and the time stamp matched realtime. 2012-06-24 20:34,0.0700,14, After 19 or so hours the timestamp is off by about 1.5 hours. 2012-06-25 15:56,0.1450,29 current timestamp It is now 5:36 realtime
|
|
|