Modelica_DeviceDrivers.OperatingSystem

This package contains several useful implementations of the OS API, for example, a mutex, a sleep command, etc

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
Modelica_DeviceDrivers.OperatingSystem.beep beep it beeps.
Modelica_DeviceDrivers.OperatingSystem.clock clock the time since OS startup in ms
Modelica_DeviceDrivers.OperatingSystem.randomReal randomReal returns a random real within the given Range.
Modelica_DeviceDrivers.OperatingSystem.realtimeSynchronize realtimeSynchronize pauses the simulation until synchronisation with realtime is achieved
Modelica_DeviceDrivers.OperatingSystem.setProcessPriority setProcessPriority  
Modelica_DeviceDrivers.OperatingSystem.sleep sleep  

Modelica_DeviceDrivers.OperatingSystem.beep

it beeps.

Inputs

NameDescription
frequency 
duration 

Modelica_DeviceDrivers.OperatingSystem.clock

the time since OS startup in ms

Inputs

NameDescription
resolutionresultion of timer in ms

Outputs

NameDescription
clocktime in ms

Modelica_DeviceDrivers.OperatingSystem.randomReal

returns a random real within the given Range.

Inputs

NameDescription
minValue 
maxValue 

Outputs

NameDescription
y 

Modelica_DeviceDrivers.OperatingSystem.realtimeSynchronize

pauses the simulation until synchronisation with realtime is achieved

Inputs

NameDescription
simTime 
resolutionOnly supported with Windows. Ignored if executing on Linux

Outputs

NameDescription
calculationTime 
availableTime 

Modelica_DeviceDrivers.OperatingSystem.setProcessPriority

Inputs

NameDescription
prioritySimulation process priority (-2(lowest)..2(realtime))

Modelica_DeviceDrivers.OperatingSystem.sleep

Inputs

NameDescription
sleepingTimetime (in seconds) during the simulation does nothing.

Automatically generated Tue Oct 1 14:26:58 2013.