News:

Welcome on our forum!

Main Menu

Timestamp Issues

Started by dcorrig, April 15, 2014, 01:57:18 PM

Previous topic - Next topic

dcorrig

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

Arthur Grasin

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.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

dcorrig

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

Arthur Grasin

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.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

dcorrig

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 

Arthur Grasin

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.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

dcorrig


Arthur Grasin

Suggested settings are below. On the "Other - Date/time stamp" image, the "File postfix" field contains one space.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

dcorrig

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.

marygate

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.