Документ взят из кэша поисковой машины. Адрес оригинального документа : http://mavr.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-set-global-oor-behavior.html
Дата изменения: Unknown
Дата индексирования: Fri Dec 28 19:53:25 2007
Кодировка:

Поисковые слова: http www.stsci.edu science goods
comedi_set_global_oor_behavior

comedi_set_global_oor_behavior

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);

Description

Status

alpha 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.