Browse Source

remove debug

git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7615 ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/zoom-1.0
jim 13 years ago
parent
commit
a5f712b651
2 changed files with 13 additions and 1 deletions
  1. +13
    -0
      pc/USB1-115200.ini
  2. +0
    -1
      pc/gpib.c

+ 13
- 0
pc/USB1-115200.ini View File

@@ -0,0 +1,13 @@
define \%P /dev/ttyUSB1
define \%B 115200

set line \%P
if failure { echo "Couldn't open \%P" , exit }
set carrier-watch off
set flow-control none
set speed \%B
set serial 8n1
set key \127 \8
log session /tmp/session.log
connect
quit

+ 0
- 1
pc/gpib.c View File

@@ -63,7 +63,6 @@ double keithley_read(int fd)
gputv("++read", NAN);
if (fdgets(s, 128, fd, 2000) == NULL)
return NAN;
printf("%s\n", s);
if (sscanf(s, "%lf,%lf,", &dummy, &i) != 2)
return NAN;
return i;


Loading…
Cancel
Save