- From: Frank Mori Hess <fmhess_at_speakeasy.net>
- Date: Mon, 25 Apr 2005 17:47:03 -0400
Received on 2005-04-25Z20:47:03
On Sunday 24 April 2005 12:08 pm, Jan Gukelberger wrote: > __generic_timed is only called the first time the app uses > get_cmd_generic_timed. > Thus, the ns argument of subsequent queries is simply ignored and all > queries yield the result of the first query. > > This makes it impossible to produce commands for different sampling > rates within one program (well, you have to manipulate the cmd struct > manually). > > Trivial patch attached. Thanks, I've applied it. Note, comedi_get_cmd_generic_timed() doesn't really work if you are using more than 1 channel (the function needs another parameter). -- Frank
Received on 2005-04-25Z20:47:03