- From: Kurt Rosenfeld <hardware_at_ee.ccny.cuny.edu>
- Date: Tue, 7 Aug 2007 14:46:12 -0400
On Thu, Aug 02, 2007 at 06:41:21PM -0400, Frank Mori Hess wrote: > On Thursday 02 August 2007 11:40, Kurt Rosenfeld wrote: > > We can't seem to get the cmd.c program to do continuous > > streaming with our card. The following modifications > > did not do it. The program still outputs 32768 samples > > and then exits. The reason it exits the main loop is > > that the read() call returns 0. > > > > //cmd->stop_src = TRIG_COUNT; > > cmd->stop_src = TRIG_NONE; > > //cmd->stop_arg = n_scan; > > cmd->stop_arg = 0; > > > > Is this card known to work in continuous mode? Suggestions? > > thanks, -kurt > > It used to work, but it's been a long time since I've had access to that > hardware. You should uncomment the line in the driver defining > PCIDAS64_DEBUG, which should generate kernel debug messages you can see in > dmesg or your system log files. > > Also, it looks like, you're editing the wrong function in demo/cmd.c. > prepare_cmd() isn't used by the unmodified cmd.c > > -- > Frank > Hello, I moved the card to a faster computer P4 2.8GHz and tried it again. The cmd.c demo outputs 34816 samples before exiting with command before testing: start: now 0 scan_begin: timer 1000 convert: timer 1 scan_end: count 1 stop: none 0 test #1 returned 3 (invalid argument) start: now 0 scan_begin: timer 1000 convert: timer 0 scan_end: count 1 stop: none 0 test #2 returned 0 (success) read: Broken pipe I uncommented PCIDAS64_DEBUG and here is the dmesg output: http://isis.poly.edu/~kurt/cb_pcidas64.dmesg thanks, -kurt
Received on 2007-08-07Z17:46:12