Hello, > 1. I setup an asynchronous acquisition. I then use a loop to > a4l_sys_read() the acquired data. When the acquisition command is over, > as configured with the .stop_src and .stop_arg in the command data > structure, the a4l_sys_read() returns an ENOENT error. The comedi way of > signaling the acquisition command end is to return 0, as is done for > files to signal the end of file. I think this is an API deficiency but I > haven't looked at how much work is to fix it.
Looks like this has already been solved in the Alex's git tree. Thanks Simon for the suggestion of looking there for fixes. > 2. Looks like it is not possible to setup an endless acquisition. If I > set .stop_src = TRIG_NONE and .stop_arg = 0, the command submission goes > fine, but I obtain an ENOENT error at the first a4l_sys_read(). I have > no idea on where to look to track down this issue. This is still a problem. Thanks. Cheers, -- Daniele _______________________________________________ Xenomai-core mailing list Xenomaiemail@example.com https://mail.gna.org/listinfo/xenomai-core