asynchronous signal handling

I am using an NI PXI-6031E board in an embedded Debian linux system.
I have set up asynchronous signal handling, but I'm confused as to
how this works.  
I get a SIGIO every 500 us, which corresponds with my scan time, and
I want to be able to read 1 whole scan from the card each time I get
this signal. Using the sigio example included with comedilib, I have
noticed that when I read from the device, it only returns 6 bytes
most of the time (out of a requested 48). It seems that read is only
called once before I get an interrupt, so why am I only reading 6 bytes?

-John
eowaennor_at_elitemail.org
-- 
  John McKisson
  eowaennor_at_elitemail.org

-- 
http://www.fastmail.fm - And now for something completely different…

Received on 2003-11-06Z19:53:24