question about synchronous acquisition

Hi, 

   I want to use  comedi for synchronous acquisition.
   To do an acquisition at 8 khz freq, record data into a file on linux every day.
   Could you tell me any example or suggestions?

   I tried the function "comedi_command", but it seem asynchronous.
   It losts data between two "comedi_command"s.

   The document says that comedi_do_insn is synchronous. But how to do it?

   Thanks a lot!

Best regards, 

Cheng-Ling Kuo

Tel:+886-6-2757575-65276 
Fax:+886-6-2096035 
 
Assistant Engineer 
Science Data Distribution Center 
ISUAL Project, The Scientific Payload of ROCSAT-2 
Department of Physics 
National Cheng Kung University 
(http://www.phys.ncku.edu.tw) 

Received on 2003-05-18Z14:14:40