git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@8676 ddd99763-3ecb-0310-9145-efcb8ce7c51f
This commit is contained in:
nilm 2010-07-08 21:46:29 +00:00
parent 65bb278628
commit c51f400c5a
3 changed files with 3 additions and 4 deletions

View File

@ -27,4 +27,4 @@ dctest: dctest.o serial-util.o gpib.o zoom.o mt19937ar.o
dactest: dactest.o serial-util.o gpib.o zoom.o mt19937ar.o
clean:
rm -f *.o read calibrate dctest
rm -f *.o read calibrate dctest dactest

View File

@ -114,7 +114,6 @@ int keithley2002_init_volts(int fd)
{
double i;
gput(":trac:cle");
gput(":sens:func 'volt:dc'");
gput(":sens:volt:dc:rang 5");
gput(":sens:volt:dc:dig 8");
gput(":form:elem read");

View File

@ -21,8 +21,8 @@ static int verify_prompt(int fd)
chomp(s);
if (sscanf(s, "%x %d %x %d", &dac1, &dac2, &adc1, &adc2) != 4)
return -1;
if (dac1 != dac2 || adc1 != adc2)
return -1;
// if (dac1 != dac2 || adc1 != adc2)
// return -1;
last_dac = dac1;
last_adc = adc1;
return 0;