GQ Electronics Technical Support Forum Active Users: / Visits Today:
Highest Active Users:
GQ Electronics Technical Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GQ Electronics Forums
 2.GQ Geiger Muller Counter
 GQGMC Pro data logging

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an Image File
Check here to include your profile signature.
    

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

GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.05 sec. Snitz's Forums 2000