1
.\" This manpage has been automatically generated by docbook2man
2
.\" from a DocBook document. This tool can be found at:
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4
.\" Please send any bug reports, improvements, comments, patches,
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
6
.TH "COMEDI_DO_INSN" "3" "02 October 2004" "" ""
9
comedi_do_insn \- perform instruction
12
\fB#include <comedilib.h>
14
int comedi_do_insn (comedi_t * \fIdevice\fB, comedi_insn * \fIinstruction\fB);
18
The function comedi_do_insn() performs a single instruction.
19
If sucessful, comedi_do_insn() returns the number of samples
20
measured, which may be less than the number of requested
21
samples. Comedi limits the number of requested samples in
22
order to enforce fairness among processes. If there is an
23
error, -1 is returned.