table of contents
COMEDI_SET_GLOBAL_OO(3) | Comedi reference | COMEDI_SET_GLOBAL_OO(3) |
NAME¶
comedi_set_global_oor_behavior - out-of-range behaviorSYNOPSIS¶
#include <comedilib.h>
enum comedi_oor_behavior
comedi_set_global_oor_behavior(enum comedi_oor_behavior behavior);
DESCRIPTION¶
This function changes the Comedilib out-of-range behavior. This currently affects the behavior of comedi_to_phys when converting endpoint sample values, that is, sample values equal to 0 or maxdata. If the out-of-range behavior is set to COMEDI_OOR_NAN, endpoint values are converted to NAN. If the out-of-range behavior is set to COMEDI_OOR_NUMBER, the endpoint values are converted similarly to other values.RETURN VALUE¶
The previous out-of-range behavior is returned.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 |