Menu

#4 index error in extractdata.c

open
nobody
None
5
2004-09-28
2004-09-28
No

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.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB