comedi_do_insn man page

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.

Info

28 October 2007