Hi,
I am having trouble with the GetDataRecord function with the CR200X. I believe I have followed all the correct instructions like insert a dummy variable in the CR800 that is collecting the data for the extra four bytes of the timestmap and making all the data types IEEE4.
The problem I am having is when I collect the data I seem to be getting extra data, which is then moving the position of my data as time goes on.
Here is an example of the log file:
"TIMESTAMP","RECORD","batt_volts_200","some_data1","some_data2"
"TS","RN","","",""
"","","Smp","Smp","Smp"
"2014-01-17 01:40:00",0,13.2581,60,7
"2014-01-17 01:41:00",1,1.056858E-011,0,13.30091
"2014-01-17 01:42:00",2,115,7,1.056864E-011
"2014-01-17 01:43:00",3,0,13.31266,175
"2014-01-17 01:44:00",4,7,1.056869E-011,0
"2014-01-17 01:45:00",5,13.3093,235,7
"2014-01-17 01:46:00",6,1.056874E-011,0,13.31266
"2014-01-17 01:47:00",7,295,7,1.056879E-011
"2014-01-17 01:48:00",8,0,13.31014,355
"2014-01-17 01:49:00",9,7,1.056884E-011,0
The bits in bold are the extra bits of data I don't want and don't know where they are coming from.
I have the function working perfectly with CR800s but not with the CR200
Any help Would be great.
Cheers
Ryan
* Last updated by: ryan42 on 1/23/2014 @ 5:28 PM *
The CR200X reports its time stamps as four bytes seconds since midnight, 1 January 1990 while the CR800 is going to expect the record time stamp to be seconds since 1990 followed by nanoseconds into the second. The CR200X does not generate the sub-second field so ITS table definitions need to have a dummy value at the beginning of the table. Placing the dummy value in the CR800 table is not going to help.