continuos aquisition with errors

I call comedi_command()
previous comedi_command_test() outputs
start:      now      0
scan_begin: timer    100000
convert:    timer    6000
scan_end:   count    16
stop:       none     0

Then do endless loop with scan(), read(), printf()

if outputs directed to tty './mysel' after approx 80KBytes
I get error from read():
read: Broken pipe

if output directed to file './mysel >file' I don't get error from read()
but afrer approx 2 minutes (aprox read out 36MBytes):
ni_mio_common: BUG: negative ai count

if output directed to more './mysel | more' almost at begining,
while 'more' display its first page (screen) I get:
ni_mio_common: DMA overwrite of free area

What is that mean ?

 Andrey

Received on 2004-05-22Z03:45:26