Synchronous read from analog channel
encapsulated function data_read 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"; input Integer aref "Analog reference type"; output Integer data "Value that is read from channel"; end data_read;