1COMEDI_DO_INSN(3) COMEDI_DO_INSN(3)
2
3
4
6 comedi_do_insn - perform instruction
7
9 #include <comedilib.h>
10
11 int comedi_do_insn (comedi_t * device, comedi_insn * instruction);
12
14 The function comedi_do_insn() performs a single instruction. If
15 sucessful, comedi_do_insn() returns the number of samples measured,
16 which may be less than the number of requested samples. Comedi limits
17 the number of requested samples in order to enforce fairness among pro‐
18 cesses. If there is an error, -1 is returned.
19
20 28 October 2007 COMEDI_DO_INSN(3)