Poster of Linux kernelThe best gift for a Linux geek
COMEDI_SET_GLOBAL_OOR_BEHAVIOR

COMEDI_SET_GLOBAL_OOR_BEHAVIOR

Section: (3) Updated: 28 October 2007
Local index Up

 

NAME

comedi_set_global_oor_behavior - out-of-range behavior  

SYNOPSIS

#include <comedilib.h>

int comedi_set_global_oor_behavior (enum comedi_oor_behavior behavior);  

STATUS

alpha  

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.

The previous out-of-range behavior is returned.


 

Index

NAME
SYNOPSIS
STATUS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 21:43:40 GMT, April 16, 2011