- From: <bvds_at_bvds.geneva.edu>
- Date: Sat, 6 Dec 2003 13:09:05 -0500 (EST)
comedi_get_cmd_generic_timed(...) has some behavior that is confusing to me and seems to be contrary to the documentation. According to the documentation "... The command structure pointed to by the parameter command is modified to be a valid command ..." But what it seems to do is allocate a new comedi_cmd structure, allocate memory for one channel in command->chanlist, and set the pointer command to point to this structure. Is this right? The reason I am asking about this is because I am writing a program where I want to be able to change the sample rate. It looks like one cannot apply comedi_get_cmd_generic_timed() to an already existing comedi_cmd structure without losing the information already in it. Is there another way to update the sample rate? If someone could explain, I would appreciate it. BvdS
Received on 2003-12-06Z18:09:05