- From: Joonas Pulakka <jmp_at_fyslab.hut.fi>
- Date: Thu, 14 Aug 2003 12:42:04 +0300 (EEST)
Hi! We are using a NI PCI-MIO-16E1 card. Comedi_data_read() and read() (cmd.c example) functions work just fine. Since we are using pretty high sample rates (1.2 MHz) for extended periods of time, I think the right way to do this is to use a command and map the buffer like in mmap.c example. However, this way I don't seem to be able to get out anything but zeros. Here is the output of mmap.c: buffer size is 16384 map=0x4001e000 start: now 0 scan_begin: timer 1000000 convert: timer 800 scan_end: count 4 stop: none 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 etc. ad infinitum Any ideas would be greatly appreciated! -- Joonas Pulakka Laboratory of Physics Disordered Materials Group Helsinki University of Technology
Received on 2003-08-14Z08:42:04