- From: Yoshiya Matsuzaka <matsuzay_at_mail.tains.tohoku.ac.jp>
- Date: Fri, 27 Jul 2007 20:58:28 +0900
Hi Walter, Thank you for your interest. Kulecz, Walter (JSC-SK)[WLS] wrote: > Could you please explain why the need for the three sequential calls to > comedi_command_test() function? comedi_command_test() modifies the sampling parameter (comedi_cmd*) if any of its elements are invalid. When the parameter is all right, the function returns 0. In my case, it took three consecutive calls to get the sampling parameter right. You only have to call it once, though, if you can make sure to give the valid parameter from the beginning. > I see you are not using the async structure and init_async_buf(), is > this because you are using comedi_map() instead? or is this a difference > between how your board and my board's driver works? I am unsure what init_async_buf() is. I did not find that function in any of the header files of comedi-0.7.70 and comedlib-0.7.22. Is this a newly added function in later version of COMEDI? Yoshiya Matsuzaka -- ---------------------------------------------------- Yoshiya Matsuzaka Dept. of Physiol., Graduate School of Medical Science, Tohoku Univ. 2-1 Seiryo machi, Aoba ward, Sendai 980-8575, JAPAN Tel: +81-22-717-8073, Fax: +81-22-717-8077 URL: http://www.med.tohoku.ac.jp/~2sei/ ----------------------------------------------------
Received on 2007-07-27Z10:58:28