Re: ... AT-MIO-16XE-10 AO Waveform ... (Repost)

On Tue, Jul 02, 2002 at 09:59:50AM -0400, Matt Koch wrote:
> Folks:
> 
> I have been trying to get the AO_Waveform demo to work on my
> AT-MIO-16XE-10 card. It spits out the following error message
> 
> write: input/output error
> 
> and then simply keeps chugging along, but nothing ever happens on the
> output channel.

Try again with a comedilib snapshot from
https://cvs.comedi.org/cgi-bin/viewcvs.cgi/comedilib/comedilib.tar.gz?tarball=1

> Also, why does write() return twice the buffer size?
> Moreover, why is there no command_set_buffer_size()? How does the buffer
> get configured?

Comedi uses a default buffer size of 16 kbytes.  It is not necessary
to set it, although you may wish to use comedi_config to increase it
if there are buffer overflows/underflows.



dave...

Received on 2002-07-03Z19:27:13