encapsulated function get_range
import Modelica;
extends Modelica.Icons.Function;
import Modelica_DeviceDrivers.HardwareIO.Comedi;
input Comedi comedi "Device handle";
input Integer subDevice "Subdevice number";
input Integer channel "Channel number";
input Integer range "Range specification";
output Real min "(Physical) min value";
output Real max "(Physical) max value";
output Integer unit "physical unit type (for endpoints). UNIT_volt=0 for volts, UNIT_mA=1 for milliamps, or UNIT_none=2 for unitless";
end get_range;