modelTestHardwareIOComedi

Example for comedi daq support using USB-DUX D (http://www.linux-usb-daq.co.uk/)

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Important: Works only under Linux. The reason for this is, that the interfaced Comedi device drivers are only available for Linux.

Example tested with USB-DUX D. Assuming input channels are electrical connected to corresponding output channels we should read what we wrote

Components

TypeNameDefaultDescription
Modelica_DeviceDrivers.Blocks.HardwareIO.Comedi.DataWritedataWrite
Modelica_DeviceDrivers.Blocks.HardwareIO.Comedi.ComediConfigcomedi
Modelica.Blocks.Sources.Sinesine
Modelica.Blocks.Math.RealToIntegerrealToInteger
Modelica_DeviceDrivers.Blocks.HardwareIO.Comedi.DataReaddataRead
Modelica_DeviceDrivers.Blocks.OperatingSystem.RealtimeSynchronizerealtimeSynchronize
Modelica_DeviceDrivers.Blocks.HardwareIO.Comedi.DIOWritedioWrite
Modelica_DeviceDrivers.Blocks.HardwareIO.Comedi.DIOReaddioRead
Modelica.Blocks.Logical.Lessless
Modelica.Blocks.Sources.Constantconst
Modelica_DeviceDrivers.Blocks.HardwareIO.Comedi.PhysicalDataWritedataWrite1
Modelica.Blocks.Sources.Sinesine1
Modelica_DeviceDrivers.Blocks.HardwareIO.Comedi.PhysicalDataReaddataRead1