A computer controlled curve tracer for two and three terminal devices