1COMEDI_GET_MAXDATA(3) COMEDI_GET_MAXDATA(3)
23
4
NAME
6comedi_get_maxdata - maximum sample of channel
7
SYNOPSIS
9#include <comedilib.h>
1011
lsampl_t comedi_get_maxdata (comedi_t * device, unsigned int subdevice,
12unsigned int channel);
13
DESCRIPTION
15The function comedi_get_maxdata() returns the maximum valid data value
16for channel channel of subdevice subdevice belonging to the comedi
17device device.
18
RETURN VALUE
20The maximum valid sample value, or 0 on error.
2122
28 October 2007 COMEDI_GET_MAXDATA(3)