AGG Software Forums

Online Help Center => Other questions => Topic started by: dcorrig on April 15, 2014, 01:57:18 PM

Title: Timestamp Issues
Post by: dcorrig on April 15, 2014, 01:57:18 PM
I am logging data from a meter via 232 connection but the timestamp being added by the data logger is in the middle of the data.  In the example below the first timestamp is ok the next one is inside the data.

Any Ideas on how to fix this?

Ex.

+109.22 -000.10
+109.23 -000.10
+109.23 -000.10
<2014.04.13 11:03:21>+109.23 -000.10
+109.22 -000.09
+109.22 -000.10
+109.22 -000.10
+109.22 -000.10
+109.22 -000.10
+109.22 -000.10
+109.23 -000.10
+109.23 -000.10
+109.23 -000.10
+109.22 -000.10
+109.22 -000.10
+109.23 -000.10
+109.23 -000.10
+109.22 -000.10
+109.22 -000.10
+109.22 -000.10
+109.22 -000.10
+109.22 -000.10
+109.22 -000.10
+10<2014.04.13 11:03:22>9.22 -000.10
Title: Re: Timestamp Issues
Post by: Arthur Grasin on April 16, 2014, 03:24:26 AM
You need to configure the ASCII Data Parser. It will separate your data packets.
Also you day define valid splitting characters on "Other - Data view" page.
Title: Re: Timestamp Issues
Post by: dcorrig on April 16, 2014, 03:48:06 PM
I will look at trying to configure the ASCII.  I'm not sure what you mean but I'll try it and respond later today
Title: Re: Timestamp Issues
Post by: Arthur Grasin on April 16, 2014, 05:33:45 PM
If you'll specify your meter name/model, capture your incoming data to a log file and attached it here, then I can suggest the precise settings.
Title: Re: Timestamp Issues
Post by: dcorrig on April 16, 2014, 06:02:31 PM
Its a cole-Parmer Precision Water Flow Meter

found here: coleparmer.com/Product/Flowmeter_volumetric_for_water_0_to_10_L_min/EW-32908-49

currently is logging about 20 lines a second..  I need it to log 1 line per second with a format like such:

timeStamp  +Temp +L/Min 

this forum times out when I add a log file so This is what the log file looks like:

First value is temp second value is water volume

+112.40 -000.12
+112.40 -000.12
+112.40 -000.12
+112.40 -000.12
+112.40 -000.12
+112.40 -000.12
+112.40 -000.12
+112.40 -000.12 <2014.04.15 09:26:01>
+112.40 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.40 -000.12
+112.39 -000.12
+112.40 -000.12
+112.40 -000.12
+112.39 -000.12
+112.40 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.38 -000.12
+112.39 -000.12
<2014.04.15 09:26:03>+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.38 -000.12
+112.38 -000.12
+112.38 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.39 -000.12
+112.38 -000.12
+112.38 -000.12
+112.38 -000.12
+112.38 -000.12
+112.38 -000.12
+112.38 -000.13
+112.38 -000.12
+112.38 -000.12
+112.38 -000.12
<2014.04.15 09:26:04>+112.38 -000.13
+112.38 -000.12
+112.38 -000.12
+112.38 -000.13
+112.38 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000.12
+112.38 -000.12
+112.38 -000.12
+112.38 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000<2014.04.15 09:26:05>.12
+112.36 -000.12
+112.37 -000.12
+112.37 -000.12
+112.37 -000.12
+112.36 -000.12
+112.36 -000.12
+112.37 -000.12
+112.36 -000.12
+112.36 -000.11
+112.37 -000.12
+112.37 -000.12
+112.35 -000.12
+112.36 -000.12
+112.35 -000.12
+112.36 -000.12
+112.35 -000.12
+112.35 -000.12
+112.35 -000.12
+112.35 -000.12
+112.35 -000.12
<2014.04.15 09:26:06>+112.35 -000.12
+112.35 -000.12
+112.35 -000.12
+112.35 -000.12
+112.35 -000.12
+112.35 -000.12
+112.34 -000.12
+112.34 -000.12
+112.35 -000.13
+112.35 -000.12
+112.35 -000.12
+112.34 -000.12
+112.35 -000.12
+112.35 -000.12
+112.35 -000.12
+112.34 -000.12
+112.35 -000.12
+112.35 -000.12
+112.35 -000.12
+112.34 -000.13
+112.34 -0<2014.04.15 09:26:07>00.12 
Title: Re: Timestamp Issues
Post by: Arthur Grasin on April 17, 2014, 03:26:53 AM
The log file may contain non-printable characters that may configure the parser. Try to pack the log file before adding here. Also, I need several lines of data only.
Title: Re: Timestamp Issues
Post by: dcorrig on April 17, 2014, 07:41:29 PM
Smaller log file
Title: Re: Timestamp Issues
Post by: Arthur Grasin on April 18, 2014, 04:57:18 AM
Suggested settings are below. On the "Other - Date/time stamp" image, the "File postfix" field contains one space.
Title: Re: Timestamp Issues
Post by: dcorrig on April 18, 2014, 02:21:07 PM
It looked like this worked for a second.  Then I reached my 100 packet limit. I guess I'll have to decide if the software will be able to do what I need it to do from what I think I had seen.  Thanks for all your help.
Title: Re: Timestamp Issues
Post by: marygate on September 25, 2019, 09:06:43 AM
Well i m here for the same.Thanks for sharing this solution. I am sure other users will benefit from you taking the time to write this up.