index error in extractdata.c
Status: Beta
Brought to you by:
gwydion
extractdata.c's inner loop of display data the index is
off for multiple curves such as IV curves.
The HP4145 writes out header data to mark the start of
a curve. The data with the start header needs to be
dropped from the output. Changing the printf line from
printf("%1.4e\t",
series[k][i * conf.svcbv.var1.steps + j +
1].data);
to
printf("%1.4e\t",
series[k][i * conf.svcbv.var1.steps + j +
1 + i].data);
seems to work since for n number of curves n header
(flag=1) data points are dropped.