1COMEDI_SET_GLOBAL_OOR_BEHAVIOR(3)            COMEDI_SET_GLOBAL_OOR_BEHAVIOR(3)
2
3
4

NAME

6       comedi_set_global_oor_behavior - out-of-range behavior
7

SYNOPSIS

9       #include <comedilib.h>
10
11       int comedi_set_global_oor_behavior (enum comedi_oor_behavior behavior);
12

STATUS

14       alpha
15

DESCRIPTION

17       This  function  changes the Comedilib out-of-range behavior.  This cur‐
18       rently affects the behavior of comedi_to_phys()  when  converting  end‐
19       point  sample values, that is, sample values equal to 0 or maxdata.  If
20       the out-of-range behavior is set to COMEDI_OOR_NAN, endpoint values are
21       converted   to   NAN.    If   the   out-of-range  behavior  is  set  to
22       COMEDI_OOR_NUMBER, the endpoint values are converted similarly to other
23       values.
24
25       The previous out-of-range behavior is returned.
26
27                                28 October 200C7OMEDI_SET_GLOBAL_OOR_BEHAVIOR(3)
Impressum