How to get the sampled values on asynchronous aquisition (kernel space)

Hello,

I need write a 2.6.7 kernel module (with real-time
support) that use a ni-atmio-16de-10 board to sample a
signal at 6000Hz (infinite sequence of acquisitions).

I see in Comedilib Reference how to configure the
board to asynchronous acquisition, using comedi_cmd
struct, and also run the real-time example (and other
examples) on the download area, but I do not
understand how to get samples (sampled values). What
function I need to use? How I manager the buffer?
etc...

Someone could help-me, please!

Someone have an example, for kernel-space with
asynchronous acquisition, that just "print" the values
(samples) with an infinite sequence of acquisitions.

Thanks for any help!

Sorry, english is not my native language.

Pecenin



	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/

Received on 2005-07-19Z01:40:05