Product Alert #19
Version 3.01 Software - Model 6301A/B
Incremental Unload - reports incorrect dates
18 January 1995
Problem
When using a circular buffer, the start date/time is incorrectly calculated from the first log entry instead of using the last logged entry as the reference date/time.
Symptom
When unloading a Data Logger (or STARFLOW) with incremental unload, the date/time reported with recorded data always begins with the date/time of the first logged entry.
Correction
Download the Version 3 Update.
This problem has been corrected in software versions 3.02 and later.
Alternative Correction
Using a text editor, alter the control file “PDLFUNL.CCF” as follows:-
<<Comment out line 254 and add 5 new lines>>
Change line 254 from:
fwrite(&hdr[ 376 ],4,1,f) // start time
To:
// fwrite(&hdr[ 376 ],4,1,f) // start time
xsp = * (unsigned long *) &hdr[ 376 ] // start time
xep = * (unsigned long *) &hdr[ 380 ] // end time
if (hdr[ 64 ] &&
((flags & 0x03) == 0x02 || inc && (flags & 0x02) == 0))
xsp = xep - n / hdr[ 64 ] * (* (unsigned *) &hdr[ 60 ])
fwrite(&xsp,4,1,f) // start time
|