recordComediConfig

Configuration for the linux control and measurement library 'Comedi'

Extends from Modelica_DeviceDrivers.Utilities.Icons.ComediRecordIcon (Icon for comedi records (Tux from JZA placed into the public domain, http://openclipart.org/detail/168653/tux-enhanced-by-jza).).

Information

Record for configuring a Comedi device. At initialization time the comedi device given by the parameter deviceName will be opened and a handle to that device will be assigned to the final parameter dh.This handle needs to be passed as parameter to the remaining Comedi read and write blocks.

Note

Only supported for Linux, since Comedi is only available for linux (http://www.comedi.org/). Requires that Comedilib is installed and that the simulation process has sufficient privileges to access the intended device (usually that requires "root" privileges).

Parameters

TypeNameDefaultDescription
StringdeviceName"/dev/comedi0"Name of Comedi device
ComedidhComedi(deviceName)Handle to comedi device