COMEDI_GET_MAXDATA(3)

NAME

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.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout