Re: working with output buffer

On 08/10/2007 13:54, Heinrich du Toit wrote:
> Hi
> 
> Firstly does ni_pcimio support the set_buffer_size and
> set_max_buffer_size commands? 
> 
> If it does how do I use it?
> 
> Then secondly is there a way to flush the output data.
> 
> Because it works like this.
> We are always trying to keep the buffer updated with data. That means
> there is likely to be about 64K of data in the buffer.
> 
> Now we want to change the data we are writing. The problem is we have to
> wait for that other 64K to write out before the output changes :(
> Is there any way to help this?
> like a way to flush the output from the buffers and start fresh?

comedi_cancel() should stop the current command, but you'd have to set 
it up again before outputting more data.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2007-10-08Z13:10:04