Poster of Linux kernelThe best gift for a Linux geek
COMEDI_COMMAND

COMEDI_COMMAND

Section: (3) Updated: 28 October 2007
Local index Up

 

NAME

comedi_command - start streaming input/output  

SYNOPSIS

#include <comedilib.h>

int comedi_command (comedi_t * device, comedi_cmd * command);  

DESCRIPTION

The function comedi_command() starts streaming input or output. The command structure pointed to by the parameter command specifies the acquisition. The command must be able to pass comedi_command_test() with a return value of 0, or comedi_command() will fail. For input subdevices, sample values are read using the function read(). For output subdevices, sample values are written using the function write().

If sucessful, 0 is returned, otherwise -1.


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 21:43:39 GMT, April 16, 2011