1COMEDI_CANCEL(3) COMEDI_CANCEL(3)
2
3
4
6 comedi_cancel - stop streaming input/output in progress
7
9 #include <comedilib.h>
10
11 int comedi_cancel (comedi_t * device, unsigned int subdevice);
12
14 The function comedi_cancel() can be used to stop a Comedi command pre‐
15 viously started by comedi_command() that is still in progress on the
16 subdevice indicated by the parameters device and subdevice. This may
17 not return the subdevice to a ready state, since there may be samples
18 in the buffer that need to be read.
19
20 If sucessful, 0 is returned, otherwise -1.
21
22 28 October 2007 COMEDI_CANCEL(3)