Re: continuous acquisition on PCI-DAS4020/12

On Tuesday 07 August 2007 14:46, Kurt Rosenfeld wrote:
> 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

You need to increase the size of comedi's buffer.  You can do that with 
comedi_config, or with comedilib.

-- 
Frank

Received on 2007-08-08Z04:19:28