comedi_get_maxdata man page

comedi_get_maxdata — maximum sample of channel

Synopsis

#include <comedilib.h>

lsampl_t comedi_get_maxdata(comedi_t * device, unsigned int subdevice, unsigned int channel);

Description

The function comedi_get_maxdata returns the maximum valid data value for channel channel of subdevice subdevice belonging to the comedi device device.

Return Value

The maximum valid sample value, or 0 on error.

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.

Info

05/11/2017 Comedi reference