Ok, it's a bit primitive but it's so small I figure I should share the source code to the little perl script I used to reduce the data. I'm sure it can be done better and in other ways. You don't have to know perl to figure out what is doing.
I used the following link to install perl:
http://activestate.com/Products/Download/Register.plex?id=ActivePerl
I called the program convert.pl and I run it like:
convert.pl "input" "output"
It spits out a comma separated file the excel can easily load.
-------------------------------------------
$input=shift;
$output=shift;
$filler=6;
$interval=60;
open (OUT, ">$output");
open (IN, "<$input");
$count = 0;
$AC_PWR_A = 0;
while(<IN> ) {
if ($filler) {
$filler--;
next;
}
($Date, $Time, $VDC, $DC_Amps, $MPPT, $DC_PWR, $AC_PWR, $VAC, $whr, $AmbTemp, $HS_Temp,
$Freq, $Status) = split;
$count++;
$AC_PWR_S += $AC_PWR;
$DC_PWR_S += $DC_PWR;
if (!($count % $interval)) {
$AC_PWR_A = $AC_PWR_S/$interval;
$DC_PWR_A = $DC_PWR_S/$interval;
print OUT "$Date, $Time, $VDC, $DC_Amps, $MPPT, $DC_PWR_A, $AC_PWR_A, $VAC, ";
print OUT "$whr, $AmbTemp, $HS_Temp, $Freq, $Status\n";
$AC_PWR_S = 0;
$DC_PWR_S = 0;
}
}