Man Linux: Main Page and Category List

NAME

       comedi_do_insn - perform instruction

SYNOPSIS

       #include <comedilib.h>

       int comedi_do_insn (comedi_t * device, comedi_insn * instruction);

DESCRIPTION

       The  function  comedi_do_insn()  performs  a  single  instruction.   If
       sucessful, comedi_do_insn() returns the  number  of  samples  measured,
       which  may be less than the number of requested samples.  Comedi limits
       the number of requested samples in  order  to  enforce  fairness  among
       processes.  If there is an error, -1 is returned.

                                28 October 2007