table of contents
COMEDI_GET_N_CHANNEL(3) | Comedi reference | COMEDI_GET_N_CHANNEL(3) |
NAME¶
comedi_get_n_channels - number of subdevice channelsSYNOPSIS¶
#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 subdevice belonging to the comedi device device. This function returns -1 on error and the Comedilib error value is set.AUTHORS¶
David Schleef <ds@schleef.org>Author.
Frank Mori Hess <fmhess@users.sourceforge.net>
Author.
Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
Author.
Bernd Porr <tech@linux-usb-daq.co.uk>
Author.
Ian Abbott <abbotti@mev.co.uk>
Author.
Éric Piel <piel@delmic.com>
Author.
COPYRIGHT¶
Copyright © 1998-2003 David Schleef07/14/2014 | Comedi |