AGG Software Forums
November 21, 2024, 01:50:57 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: Timestamp Issues  (Read 43919 times)
dcorrig
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« on: April 15, 2014, 04: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
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: April 16, 2014, 06: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.
Logged
dcorrig
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« Reply #2 on: April 16, 2014, 06: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
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #3 on: April 16, 2014, 08: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.
Logged
dcorrig
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« Reply #4 on: April 16, 2014, 09: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 
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #5 on: April 17, 2014, 06: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.
Logged
dcorrig
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« Reply #6 on: April 17, 2014, 10:41:29 PM »

Smaller log file

* COM4-data.txt (361.97 KB - downloaded 2 times.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #7 on: April 18, 2014, 07:57:18 AM »

Suggested settings are below. On the "Other - Date/time stamp" image, the "File postfix" field contains one space.


* img1.png (34.69 KB, 477x479 - viewed 5 times.)

* img2.png (39.09 KB, 477x479 - viewed 5 times.)

* img3.png (37.32 KB, 464x419 - viewed 5 times.)

* img4.png (33.77 KB, 477x479 - viewed 6 times.)

* img5.png (35.48 KB, 477x479 - viewed 5 times.)
Logged
dcorrig
Jr. Member
**

Karma: +0/-0
Posts: 5


View Profile
« Reply #8 on: April 18, 2014, 05: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.
Logged
marygate
Newbie
*

Karma: +0/-0
Posts: 1


View Profile
« Reply #9 on: September 25, 2019, 12:06:43 PM »

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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines