.Modelica_DeviceDrivers.HardwareIO.Comedi_.from_phys

Information

Convert physical value of channel to corresponding raw value

Interface

encapsulated function from_phys
  import Modelica;
  extends Modelica.Icons.Function;
  input Real physData "Physical value of channel";
  input Real min "Physical min value of channel";
  input Real max "Physical max value of channel";
  input Integer unit "Physical unit type of channel";
  input Integer maxdata "Maximal raw value of channel";
  output Integer rawValue "Raw value of channel";
end from_phys;

Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos