functionget_range
Get range information of channel
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Comedi | comedi | Device handle | |
| Integer | subDevice | Subdevice number | |
| Integer | channel | Channel number | |
| Integer | range | Range specification |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | min | (Physical) min value | |
| Real | max | (Physical) max value | |
| Integer | unit | physical unit type (for endpoints). UNIT_volt=0 for volts, UNIT_mA=1 for milliamps, or UNIT_none=2 for unitless |