|
|
Hello Stephen !
thank you so much for your help !
i'm developing the software to get data from the historian archive files then put data to the database with C language.
i can read the Footer, the Block Map, the Data Block.
i try to get data of the first Data Block and i can get the data of the Data Points inside the first Data Block but the problem is that it appear many times one timestamp with different value of the Value column and the milliseconds of the first Data Point
is not zero.
so i have some question is that:
1. why is the timestamp of the first Data Point on the first Data Block not equal with the Starting Time ?
2. why do it have duplicate timestamps that have difference value of the Value column on one Data Block ?
Please explain me and help me to solve the problem !
thank in advance !
PS:
for example i have:
the Starting Time: 2012-03-26 07!24!13.620 ( the Starting Time from the file name)
The PMUs working at 50 frames/second of Data Rate.
following is the result that i have when read the Historian Archive File with my software:
Timestamp ,flag , value , milliseconds
2012/03/26 07h:24m:14s:240,000D,0.000000,620 this is the timestamp of the first Data Point but it's not zero so the Timestamp is not equal the Starting Time
2012/03/26 07h:24m:14s:260,000D,0.000000,640
2012/03/26 07h:24m:14s:280,000D,0.000000,660
2012/03/26 07h:24m:14s:299,000D,0.000000,679
2012/03/26 07h:24m:14s:320,000D,0.000000,700
2012/03/26 07h:24m:14s:340,000D,0.000000,720
2012/03/26 07h:24m:14s:360,000D,-0.000000,740
2012/03/26 07h:24m:14s:380,000D,-0.000000,760
2012/03/26 07h:24m:14s:400,000D,0.000000,780
2012/03/26 07h:24m:14s:420,000D,0.000000,800
2012/03/26 07h:24m:14s:440,000D,0.000000,820
2012/03/26 07h:24m:14s:460,000D,0.000000,840
2012/03/26 07h:24m:14s:480,000D,-0.000000,860
2012/03/26 07h:24m:14s:500,000D,0.000000,880
2012/03/26 07h:24m:14s:520,000D,0.000000,900
2012/03/26 07h:24m:14s:540,000D,-0.000000,920
2012/03/26 07h:24m:14s:560,000D,-0.000000,940
2012/03/26 07h:24m:14s:580,000D,0.000000,960
2012/03/26 07h:24m:14s:600,000D,0.000000,980
2012/03/26 07h:24m:13s:620,000D,0.000000,0 //this Timestamp is equal the Starting Time but it's not the first Data Point of the Data Block.
2012/03/26 07h:24m:13s:640,000D,0.000000,20
2012/03/26 07h:24m:13s:660,000D,0.000000,40
2012/03/26 07h:24m:13s:679,000D,0.000000,59
2012/03/26 07h:24m:13s:700,000D,-0.000000,80
2012/03/26 07h:24m:13s:720,000D,0.000000,100
2012/03/26 07h:24m:13s:740,000D,0.000000,120
2012/03/26 07h:24m:13s:760,000D,-0.000000,140
2012/03/26 07h:24m:13s:780,000D,0.000000,160
2012/03/26 07h:24m:13s:799,000D,-0.000000,179
2012/03/26 07h:24m:13s:820,000D,-0.000000,200
2012/03/26 07h:24m:13s:840,000D,0.000000,220
2012/03/26 07h:24m:13s:860,000D,0.000000,240
2012/03/26 07h:24m:13s:880,000D,-0.000000,260
2012/03/26 07h:24m:13s:900,000D,0.000000,280
2012/03/26 07h:24m:13s:920,000D,-0.000000,300
2012/03/26 07h:24m:13s:940,000D,0.000000,320
2012/03/26 07h:24m:13s:960,000D,0.000000,340
2012/03/26 07h:24m:13s:980,000D,-0.000000,360
2012/03/26 07h:24m:14s:000,000D,0.000000,380
2012/03/26 07h:24m:14s:020,000D,0.000000,400
2012/03/26 07h:24m:14s:040,000D,-0.000000,420
2012/03/26 07h:24m:14s:060,000D,-0.000000,440
2012/03/26 07h:24m:14s:080,000D,-0.000000,460
2012/03/26 07h:24m:14s:100,000D,0.000000,480
2012/03/26 07h:24m:14s:120,000D,0.000000,500
2012/03/26 07h:24m:14s:140,000D,0.000000,520
2012/03/26 07h:24m:14s:160,000D,0.000000,540
2012/03/26 07h:24m:14s:179,000D,-0.000000,559
2012/03/26 07h:24m:14s:200,000D,0.000000,580
2012/03/26 07h:24m:14s:220,000D,-0.000000,600
2012/03/26 07h:24m:14s:240,000D,-0.000000,620
2012/03/26 07h:24m:14s:260,000D,0.000000,640
2012/03/26 07h:24m:14s:280,000D,0.000000,660
2012/03/26 07h:24m:14s:299,000D,-0.000000,679
2012/03/26 07h:24m:14s:320,000D,0.000000,700
2012/03/26 07h:24m:14s:340,000D,0.000000,720
2012/03/26 07h:24m:14s:360,000D,0.000000,740
2012/03/26 07h:24m:14s:380,000D,0.000000,760
2012/03/26 07h:24m:14s:400,000D,-0.000000,780
2012/03/26 07h:24m:14s:420,000D,0.000000,800
2012/03/26 07h:24m:14s:440,000D,-0.000000,820
2012/03/26 07h:24m:14s:460,000D,-0.000000,840
2012/03/26 07h:24m:14s:480,000D,0.000000,860
2012/03/26 07h:24m:14s:500,000D,0.000000,880
2012/03/26 07h:24m:14s:520,000D,0.000000,900
2012/03/26 07h:24m:14s:540,000D,-0.000000,920
2012/03/26 07h:24m:14s:560,000D,0.000000,940
2012/03/26 07h:24m:14s:580,000D,0.000000,960
2012/03/26 07h:24m:14s:600,000D,-0.000000,980
2012/03/26 07h:24m:13s:620,000D,-0.000000,0
2012/03/26 07h:24m:13s:640,000D,-0.000000,20
2012/03/26 07h:24m:13s:660,000D,-0.000000,40
2012/03/26 07h:24m:13s:679,000D,0.000000,59
2012/03/26 07h:24m:13s:700,000D,0.000000,80
2012/03/26 07h:24m:13s:720,000D,-0.000000,100
2012/03/26 07h:24m:13s:740,000D,-0.000000,120
2012/03/26 07h:24m:13s:760,000D,0.000000,140
2012/03/26 07h:24m:13s:780,000D,-0.000000,160
2012/03/26 07h:24m:13s:799,000D,-0.000000,179
2012/03/26 07h:24m:13s:820,000D,0.000000,200
2012/03/26 07h:24m:13s:840,000D,0.000000,220
2012/03/26 07h:24m:13s:860,000D,0.000000,240
2012/03/26 07h:24m:13s:880,000D,0.000000,260
2012/03/26 07h:24m:13s:900,000D,-0.000000,280
2012/03/26 07h:24m:13s:920,000D,0.000000,300
2012/03/26 07h:24m:13s:940,000D,-0.000000,320
2012/03/26 07h:24m:13s:960,000D,0.000000,340
2012/03/26 07h:24m:13s:980,000D,0.000000,360
2012/03/26 07h:24m:14s:000,000D,0.000000,380
2012/03/26 07h:24m:14s:020,000D,-0.000000,400
2012/03/26 07h:24m:14s:040,000D,0.000000,420
2012/03/26 07h:24m:14s:060,000D,-0.000000,440
2012/03/26 07h:24m:14s:080,000D,-0.000000,460
2012/03/26 07h:24m:14s:100,000D,0.000000,480
2012/03/26 07h:24m:14s:120,000D,-0.000000,500
2012/03/26 07h:24m:14s:140,000D,-0.000000,520
2012/03/26 07h:24m:14s:160,000D,-0.000000,540
2012/03/26 07h:24m:14s:179,000D,-0.000000,559
2012/03/26 07h:24m:14s:200,000D,0.000000,580
2012/03/26 07h:24m:14s:220,000D,-0.000000,600
2012/03/26 07h:24m:14s:240,000D,0.000000,620
2012/03/26 07h:24m:14s:260,000D,0.000000,640
2012/03/26 07h:24m:14s:280,000D,0.000000,660
2012/03/26 07h:24m:14s:299,000D,0.000000,679
2012/03/26 07h:24m:14s:320,000D,-0.000000,700
2012/03/26 07h:24m:14s:340,000D,-0.000000,720
2012/03/26 07h:24m:14s:360,000D,0.000000,740
2012/03/26 07h:24m:14s:380,000D,0.000000,760
2012/03/26 07h:24m:14s:400,000D,0.000000,780
2012/03/26 07h:24m:14s:420,000D,-0.000000,800
2012/03/26 07h:24m:14s:440,000D,-0.000000,820
2012/03/26 07h:24m:14s:460,000D,0.000000,840
2012/03/26 07h:24m:14s:480,000D,-0.000000,860
2012/03/26 07h:24m:14s:500,000D,0.000000,880
2012/03/26 07h:24m:14s:520,000D,-0.000000,900
2012/03/26 07h:24m:14s:540,000D,-0.000000,920
2012/03/26 07h:24m:14s:560,000D,0.000000,940
2012/03/26 07h:24m:14s:580,000D,-0.000000,960
2012/03/26 07h:24m:14s:600,000D,-0.000000,980
2012/03/26 07h:24m:13s:620,000D,0.000000,0
2012/03/26 07h:24m:13s:640,000D,-0.000000,20
2012/03/26 07h:24m:13s:660,000D,-0.000000,40
2012/03/26 07h:24m:13s:679,000D,-0.000000,59
2012/03/26 07h:24m:13s:700,000D,0.000000,80
2012/03/26 07h:24m:13s:720,000D,0.000000,100
2012/03/26 07h:24m:13s:740,000D,0.000000,120
2012/03/26 07h:24m:13s:760,000D,0.000000,140
2012/03/26 07h:24m:13s:780,000D,0.000000,160
2012/03/26 07h:24m:13s:799,000D,-0.000000,179
2012/03/26 07h:24m:13s:820,000D,0.000000,200
2012/03/26 07h:24m:13s:840,000D,0.000000,220
2012/03/26 07h:24m:13s:860,000D,-0.000000,240
2012/03/26 07h:24m:13s:880,000D,-0.000000,260
2012/03/26 07h:24m:13s:900,000D,-0.000000,280
2012/03/26 07h:24m:13s:920,000D,0.000000,300
2012/03/26 07h:24m:13s:940,000D,-0.000000,320
2012/03/26 07h:24m:13s:960,000D,0.000000,340
2012/03/26 07h:24m:13s:980,000D,0.000000,360
2012/03/26 07h:24m:14s:000,000D,0.000000,380
2012/03/26 07h:24m:14s:020,000D,-0.000000,400
2012/03/26 07h:24m:14s:040,000D,-0.000000,420
2012/03/26 07h:24m:14s:060,000D,-0.000000,440
2012/03/26 07h:24m:14s:080,000D,-0.000000,460
2012/03/26 07h:24m:14s:100,000D,-0.000000,480
2012/03/26 07h:24m:14s:120,000D,0.000000,500
2012/03/26 07h:24m:14s:140,000D,-0.000000,520
2012/03/26 07h:24m:14s:160,000D,-0.000000,540
2012/03/26 07h:24m:14s:179,000D,-0.000000,559
2012/03/26 07h:24m:14s:200,000D,-0.000000,580
2012/03/26 07h:24m:14s:220,000D,-0.000000,600
2012/03/26 07h:24m:14s:240,000D,0.000000,620
2012/03/26 07h:24m:14s:260,000D,-0.000000,640
2012/03/26 07h:24m:14s:280,000D,-0.000000,660
2012/03/26 07h:24m:14s:299,000D,-0.000000,679
2012/03/26 07h:24m:14s:320,000D,-0.000000,700
2012/03/26 07h:24m:14s:340,000D,-0.000000,720
2012/03/26 07h:24m:14s:360,000D,-0.000000,740
2012/03/26 07h:24m:14s:380,000D,-0.000000,760
2012/03/26 07h:24m:14s:400,000D,0.000000,780
2012/03/26 07h:24m:14s:420,000D,0.000000,800
2012/03/26 07h:24m:14s:440,000D,-0.000000,820
2012/03/26 07h:24m:14s:460,000D,0.000000,840
2012/03/26 07h:24m:14s:480,000D,-0.000000,860
2012/03/26 07h:24m:14s:500,000D,0.000000,880
2012/03/26 07h:24m:14s:520,000D,0.000000,900
2012/03/26 07h:24m:14s:540,000D,-0.000000,920
2012/03/26 07h:24m:14s:560,000D,0.000000,940
2012/03/26 07h:24m:14s:580,000D,-0.000000,960
2012/03/26 07h:24m:14s:600,000D,0.000000,980
2012/03/26 07h:24m:13s:620,000D,-0.000000,0
2012/03/26 07h:24m:13s:640,000D,0.000000,20
2012/03/26 07h:24m:13s:660,000D,0.000000,40
2012/03/26 07h:24m:13s:679,000D,0.000000,59
2012/03/26 07h:24m:13s:700,000D,-0.000000,80
2012/03/26 07h:24m:13s:720,000D,-0.000000,100
2012/03/26 07h:24m:13s:740,000D,0.000000,120
2012/03/26 07h:24m:13s:760,000D,-0.000000,140
2012/03/26 07h:24m:13s:780,000D,0.000000,160
2012/03/26 07h:24m:13s:799,000D,0.000000,179
2012/03/26 07h:24m:13s:820,000D,-0.000000,200
2012/03/26 07h:24m:13s:840,000D,0.000000,220
2012/03/26 07h:24m:13s:860,000D,0.000000,240
2012/03/26 07h:24m:13s:880,000D,-0.000000,260
2012/03/26 07h:24m:13s:900,000D,-0.000000,280
2012/03/26 07h:24m:13s:920,000D,0.000000,300
2012/03/26 07h:24m:13s:940,000D,0.000000,320
2012/03/26 07h:24m:13s:960,000D,-0.000000,340
2012/03/26 07h:24m:13s:980,000D,-0.000000,360
2012/03/26 07h:24m:14s:000,000D,-0.000000,380
2012/03/26 07h:24m:14s:020,000D,0.000000,400
2012/03/26 07h:24m:14s:040,000D,-0.000000,420
2012/03/26 07h:24m:14s:060,000D,0.000000,440
2012/03/26 07h:24m:14s:080,000D,-0.000000,460
2012/03/26 07h:24m:14s:100,000D,-0.000000,480
2012/03/26 07h:24m:14s:120,000D,-0.000000,500
2012/03/26 07h:24m:14s:140,000D,0.000000,520
2012/03/26 07h:24m:14s:160,000D,0.000000,540
2012/03/26 07h:24m:14s:179,000D,0.000000,559
2012/03/26 07h:24m:14s:200,000D,0.000000,580
2012/03/26 07h:24m:14s:220,000D,0.000000,600
2012/03/26 07h:24m:14s:240,000D,0.000000,620
2012/03/26 07h:24m:14s:260,000D,0.000000,640
2012/03/26 07h:24m:14s:280,000D,-0.000000,660
2012/03/26 07h:24m:14s:299,000D,-0.000000,679
2012/03/26 07h:24m:14s:320,000D,-0.000000,700
2012/03/26 07h:24m:14s:340,000D,0.000000,720
2012/03/26 07h:24m:14s:360,000D,0.000000,740
2012/03/26 07h:24m:14s:380,000D,0.000000,760
2012/03/26 07h:24m:14s:400,000D,-0.000000,780
2012/03/26 07h:24m:14s:420,000D,-0.000000,800
2012/03/26 07h:24m:14s:440,000D,0.000000,820
2012/03/26 07h:24m:14s:460,000D,0.000000,840
2012/03/26 07h:24m:14s:480,000D,0.000000,860
2012/03/26 07h:24m:14s:500,000D,0.000000,880
2012/03/26 07h:24m:14s:520,000D,0.000000,900
2012/03/26 07h:24m:14s:540,000D,0.000000,920
2012/03/26 07h:24m:14s:560,000D,0.000000,940
2012/03/26 07h:24m:14s:580,000D,0.000000,960
2012/03/26 07h:24m:14s:600,000D,-0.000000,980
2012/03/26 07h:24m:13s:620,000D,0.000000,0
2012/03/26 07h:24m:13s:640,000D,0.000000,20
2012/03/26 07h:24m:13s:660,000D,0.000000,40
2012/03/26 07h:24m:13s:679,000D,-0.000000,59
|
|