Set global out-of-range behavior of comedi_to_phys(..) function (i.e. behavior for sample values equal 0 or maxdata)
encapsulated function set_global_oor_behavior import Modelica; extends Modelica.Icons.Function; input Integer behavior(min = 0, max = 1) "0: COMEDI_OOR_NUMBER, 1: COMEDDI_OOR_NAN"; output Integer old_behavior "Previous behavior setting"; end set_global_oor_behavior;