Rechercher une page de manuel
comedi_set_global_oor_behavior
Langue: en
Version: 28 October 2007 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
comedi_set_global_oor_behavior - out-of-range behaviorSYNOPSIS
#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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre