comedi_get_n_channels

Langue: en

Version: 28 October 2007 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

comedi_get_n_channels - number of subdevice channels

SYNOPSIS

#include <comedilib.h>

int comedi_get_n_channels (comedi_t * device, unsigned int subdevice);

DESCRIPTION

The function comedi_get_n_channels() returns the number of channels of the subdevice belonging to the comedi device device and having index subdevice. This function returns -1 on error and the Comedilib error value is set.