- From: Jonathan T Wang <jtwang_at_MIT.EDU>
- Date: Sat, 17 Jul 2004 04:20:24 -0400 (EDT)
On Fedora Core 1 with a NI PCI-6033E, running a command with stop_arg = 1 and stop_src = TRIG_COUNT results in a broken pipe error on read. Furthermore, the next command executed will hang after the comedi_command(comedi_t*, comedi_cmd*) call and return no data. This behavior is easily seen by running the demo provided with comedilib: $ ./cmd -N 1 command before testing: start: now 0 scan_begin: timer 1000000 convert: timer 1000000 scan_end: count 4 stop: count 1 first test returned 4 (argument conflict) start: now 0 scan_begin: timer 4000000 convert: timer 1000000 scan_end: count 4 stop: count 1 second test returned 0 (success) start time: 1090052329.978906 read: Broken pipe end time: 1090052330.010138 time: 0.031232 $ ./cmd -N 5 command before testing: start: now 0 scan_begin: timer 1000000 convert: timer 1000000 scan_end: count 4 stop: count 5 first test returned 4 (argument conflict) start: now 0 scan_begin: timer 4000000 convert: timer 1000000 scan_end: count 4 stop: count 5 second test returned 0 (success) start time: 1090052364.920903 <ctrl-C> $ ./cmd -N 5 command before testing: start: now 0 scan_begin: timer 1000000 convert: timer 1000000 scan_end: count 4 stop: count 5 first test returned 4 (argument conflict) start: now 0 scan_begin: timer 4000000 convert: timer 1000000 scan_end: count 4 stop: count 5 second test returned 0 (success) start time: 1090052398.601719 33807 32964 31646 32221 33807 32964 31650 32215 33809 32962 31646 32222 33809 32963 31650 32219 33810 32962 31648 32218 end time: 1090052398.625012 time: 0.023293
Received on 2004-07-17Z07:20:24